public interface Operation
This interface represents a standard operation in the payload space of an identity.
Modifier and Type | Method and Description |
---|---|
boolean |
canRun()
Checks if all prerequisiting fields do exist or can be provided by a subsequent
operation.
|
int[] |
execute(int[] id)
Executes the operation and sets at least the provided set of id.
|
IdentityBlock |
getIdentity() |
int[] |
getInputId()
Gets all ids which are required to execute this operation.
|
int[] |
getOutputId()
Gets all ids which are written by this operation.
|
boolean |
isInUsagePeriod()
Checks if this operation is still valid or might be purged from the identities working
space.
|
void |
setInternalPayload(InternalPayloadSpace payload)
Sets the internal payload and associated identity.
|
IdentityBlock getIdentity()
boolean canRun()
Checks if all prerequisiting fields do exist or can be provided by a subsequent operation.
boolean isInUsagePeriod()
Checks if this operation is still valid or might be purged from the identities working space.
int[] getOutputId()
Gets all ids which are written by this operation.
int[] getInputId()
Gets all ids which are required to execute this operation.
int[] execute(int[] id)
Executes the operation and sets at least the provided set of id.
This operation might trigger to execute prerequisiting operations.
id
- the namespace id to be set minimallyvoid setInternalPayload(InternalPayloadSpace payload)
Sets the internal payload and associated identity.
This method is called from the InternalPayloadSpace when registering.
payload
- the internal payload of an identity to be registered withinCopyright © 2023. All rights reserved.