Class OperationCheckResult
An operation and the target entity that it applies to, e.g. create page.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.OperationCheckResult(String operation, String targetType) Constructs a validated instance ofOperationCheckResult.Constructs a validated instance ofOperationCheckResult. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of operation.Gets the value of targetType.inthashCode()Fluent getter for operation.Fluent setter for operation.voidsetOperation(String operation) Sets the value of operation.voidsetTargetType(String targetType) Sets the value of targetType.Fluent getter for targetType.targetType(String targetType) Fluent setter for targetType.toString()
-
Field Details
-
operation
The operation itself. -
targetType
The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
-
-
Constructor Details
-
OperationCheckResult
Constructs a validated instance ofOperationCheckResult.- Parameters:
spec- the specification to process
-
OperationCheckResult
@Internal protected OperationCheckResult()Protected no-args constructor for use by serialization frameworks. -
OperationCheckResult
Constructs a validated instance ofOperationCheckResult.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
OperationCheckResult(Consumer)instead.- Parameters:
operation- The operation itself.targetType- The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
-
-
Method Details
-
operation
-
operation
Fluent setter for operation.The operation itself.
- Parameters:
operation- operation- Returns:
- this
-
getOperation
-
setOperation
Sets the value of operation.The operation itself.
- Parameters:
operation- operation
-
targetType
Fluent getter for targetType.The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
- Returns:
- targetType
-
targetType
Fluent setter for targetType.The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
- Parameters:
targetType- targetType- Returns:
- this
-
getTargetType
Gets the value of targetType.The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
- Returns:
- targetType
-
setTargetType
Sets the value of targetType.The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
- Parameters:
targetType- targetType
-
equals
-
hashCode
-
toString
-