Class ResourceTestOptions
- java.lang.Object
-
- com.evolveum.midpoint.schema.AbstractOptions
-
- com.evolveum.midpoint.provisioning.api.ResourceTestOptions
-
- All Implemented Interfaces:
ShortDumpable
,Serializable
,Cloneable
public class ResourceTestOptions extends AbstractOptions implements Serializable, Cloneable, ShortDumpable
Options forProvisioningService.testResource(String, Task, OperationResult)
operation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceTestOptions.ResourceCompletionMode
Whether capabilities and schema should be written back to the resource (into repository or in-memory version).static class
ResourceTestOptions.TestMode
-
Field Summary
Fields Modifier and Type Field Description static ResourceTestOptions
DEFAULT
-
Constructor Summary
Constructors Constructor Description ResourceTestOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkAllValuesSet()
Checks we leave nothing set to default.ResourceTestOptions
clone()
ResourceTestOptions
doNotCacheConnector()
ResourceTestOptions.ResourceCompletionMode
getResourceCompletionMode()
ResourceTestOptions.TestMode
getTestMode()
boolean
isDoNotCacheConnector()
boolean
isFullMode()
Boolean
isUpdateInMemory()
Boolean
isUpdateInRepository()
static ResourceTestOptions
partial()
ResourceTestOptions
resourceCompletionMode(ResourceTestOptions.ResourceCompletionMode resourceCompletionMode)
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.ResourceTestOptions
testMode(ResourceTestOptions.TestMode testMode)
String
toString()
ResourceTestOptions
updateInMemory(Boolean updateInMemory)
ResourceTestOptions
updateInRepository(Boolean updateInRepository)
-
Methods inherited from class com.evolveum.midpoint.schema.AbstractOptions
appendFlag, appendVal, removeLastComma
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Field Detail
-
DEFAULT
public static final ResourceTestOptions DEFAULT
-
-
Method Detail
-
getTestMode
public ResourceTestOptions.TestMode getTestMode()
-
testMode
public ResourceTestOptions testMode(ResourceTestOptions.TestMode testMode)
-
partial
public static ResourceTestOptions partial()
-
isFullMode
public boolean isFullMode()
-
getResourceCompletionMode
public ResourceTestOptions.ResourceCompletionMode getResourceCompletionMode()
-
resourceCompletionMode
public ResourceTestOptions resourceCompletionMode(ResourceTestOptions.ResourceCompletionMode resourceCompletionMode)
-
isUpdateInRepository
public Boolean isUpdateInRepository()
-
updateInRepository
public ResourceTestOptions updateInRepository(Boolean updateInRepository)
-
isUpdateInMemory
public Boolean isUpdateInMemory()
-
updateInMemory
public ResourceTestOptions updateInMemory(Boolean updateInMemory)
-
isDoNotCacheConnector
public boolean isDoNotCacheConnector()
-
doNotCacheConnector
public ResourceTestOptions doNotCacheConnector()
-
clone
public ResourceTestOptions clone()
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
checkAllValuesSet
public void checkAllValuesSet()
Checks we leave nothing set to default.
-
-