Class OperationWithConditions
java.lang.Object
pt.unl.fct.di.novasys.babel.protocols.storage.operations.common.CommonOperation
pt.unl.fct.di.novasys.babel.protocols.storage.operations.PayloadOperation
pt.unl.fct.di.novasys.babel.protocols.storage.operations.OperationWithConditions
An operation with a payload (represented as a byte[]) as well as set of conditions (i.e., a selector)
to be applied to the objects.
-
Field Summary
Fields inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.operations.common.CommonOperation
operationType -
Constructor Summary
ConstructorsConstructorDescriptionOperationWithConditions(CommonOperationType type, ConditionsOnObjects conditions, byte[] payload) Creates a operation with conditions, and a payload containing the data. -
Method Summary
Modifier and TypeMethodDescriptionGet the conditions to be performed on the objects.Methods inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.operations.PayloadOperation
getPayloadMethods inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.operations.common.CommonOperation
getOperationType
-
Constructor Details
-
OperationWithConditions
public OperationWithConditions(CommonOperationType type, ConditionsOnObjects conditions, byte[] payload) Creates a operation with conditions, and a payload containing the data.- Parameters:
type- the type of the operationconditions- the conditions to be applied to the objectspayload- a payload containing the data.
-
-
Method Details
-
getConditions
Get the conditions to be performed on the objects.- Returns:
- the conditions to be performed on the objects.
-