public class DiscoveryOptions extends Object
Constructor and Description |
---|
DiscoveryOptions(boolean refreshOnly, boolean pruning, Class<?> environmentType)
Create a DiscoveryOptions instance.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getEnvironmentType()
Return the type, online or offline, of the environment to be discovered.
|
boolean |
isPruning()
Should the discovered data be pruned, for example removal of servers, clusters, etc that are no longer in the environment.
|
boolean |
isRefreshOnly()
Should the environment model be refreshed or completely reloaded?
|
String |
toString() |
public DiscoveryOptions(boolean refreshOnly, boolean pruning, Class<?> environmentType)
refreshOnly
- refresh, do not reload the environment modelpruning
- should the discovered data be prunedenvironmentType
- the type of the environment (online vs offline)public boolean isRefreshOnly()
public boolean isPruning()
public Class<?> getEnvironmentType()