Class CreateBatchTask
- java.lang.Object
-
- org.identityconnectors.framework.api.operations.batch.CreateBatchTask
-
-
Constructor Summary
Constructors Constructor Description CreateBatchTask(ObjectClass objectClass, java.util.Set<Attribute> createAttributes, OperationOptions options)
Create a target object based on the specified attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uid
execute(BatchTaskExecutor executor)
java.util.Set<Attribute>
getCreateAttributes()
ObjectClass
getObjectClass()
Return the ObjectClass used for this task.OperationOptions
getOptions()
-
-
-
Constructor Detail
-
CreateBatchTask
public CreateBatchTask(ObjectClass objectClass, java.util.Set<Attribute> createAttributes, OperationOptions options)
Create a target object based on the specified attributes. The Connector framework always requires attributeObjectClass
. TheConnector
itself may require additional attributes. The API will confirm that the set contains theObjectClass
attribute and that no two attributes in the set have the samename
.- Parameters:
objectClass
- the type of object to create. Must not be null.createAttributes
- includes all the attributes necessary to create the target object (including theObjectClass
attribute).options
- additional options that impact the way this operation is run.
-
-
Method Detail
-
execute
public Uid execute(BatchTaskExecutor executor)
-
getObjectClass
public ObjectClass getObjectClass()
Return the ObjectClass used for this task.- Specified by:
getObjectClass
in interfaceBatchTask<Uid>
-
getCreateAttributes
public java.util.Set<Attribute> getCreateAttributes()
-
getOptions
public OperationOptions getOptions()
-
-