public class ConfectorySettings extends Object
Confectory project.| Modifier and Type | Method and Description |
|---|---|
DataFetchStrategy |
getDefaultDataFetchStrategy()
Returns the
DataFetchStrategy to be applied by default when no specific
strategy is defined. |
static ConfectorySettings |
getInstance() |
void |
reset()
Resets
Confectory configuration. |
void |
setDefaultDataFetchStrategy(DataFetchStrategy strategy)
Defines the
DataFetchStrategy to be applied by default when no specific
strategy is defined. |
public void reset()
Confectory configuration.public static ConfectorySettings getInstance()
ConfectorySettings instance.public DataFetchStrategy getDefaultDataFetchStrategy()
DataFetchStrategy to be applied by default when no specific
strategy is defined.DataFetchStrategy to be appliedpublic void setDefaultDataFetchStrategy(DataFetchStrategy strategy)
DataFetchStrategy to be applied by default when no specific
strategy is defined.strategy - the default DataFetchStrategy to set; not nullNullPointerException - if the specified strategy is nullCopyright © 2023. All rights reserved.