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 for
ProvisioningService.testResource(String, Task, OperationResult)
operation.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Whether capabilities and schema should be written back to the resource (into repository or in-memory version).static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks we leave nothing set to default.clone()
boolean
boolean
static ResourceTestOptions
partial()
resourceCompletionMode
(ResourceTestOptions.ResourceCompletionMode resourceCompletionMode) void
Show the content of the object intended for diagnostics.testMode
(ResourceTestOptions.TestMode testMode) toString()
updateInMemory
(Boolean updateInMemory) 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 Details
-
DEFAULT
-
-
Constructor Details
-
ResourceTestOptions
public ResourceTestOptions()
-
-
Method Details
-
getTestMode
-
testMode
-
partial
-
isFullMode
public boolean isFullMode() -
getResourceCompletionMode
-
resourceCompletionMode
public ResourceTestOptions resourceCompletionMode(ResourceTestOptions.ResourceCompletionMode resourceCompletionMode) -
isUpdateInRepository
-
updateInRepository
-
isUpdateInMemory
-
updateInMemory
-
isDoNotCacheConnector
public boolean isDoNotCacheConnector() -
doNotCacheConnector
-
clone
-
toString
-
shortDump
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.
-