Package com.flower.docs.operation.api
Class VersionOperationContext
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.operation.api.OperationContext
-
- com.flower.docs.operation.api.VersionOperationContext
-
- All Implemented Interfaces:
java.io.Serializable
public class VersionOperationContext extends OperationContext
The context of anOperation
which is executed for following actions:
-Action.PROMOTE
-Action.REVERT
- Author:
- Christopher Laszczuk
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionOperationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
com.flower.docs.domain.component.Version
getResult()
com.flower.docs.domain.common.IdentifiableElement
getSource()
com.flower.docs.domain.common.Id
getTarget()
int
hashCode()
void
setResult(com.flower.docs.domain.component.Version result)
void
setSource(com.flower.docs.domain.common.IdentifiableElement source)
void
setTarget(com.flower.docs.domain.common.Id target)
-
Methods inherited from class com.flower.docs.operation.api.OperationContext
getExecutionPhase, getExtra, getOperation, getRegistration, getRequestId, getScope, getTags, getTime, getUser, setExecutionPhase, setExtra, setOperation, setRegistration, setRequestId, setScope, setTags, setTime, setUser, toString
-
-
-
-
Method Detail
-
getSource
public com.flower.docs.domain.common.IdentifiableElement getSource()
-
setSource
public void setSource(com.flower.docs.domain.common.IdentifiableElement source)
-
getTarget
public com.flower.docs.domain.common.Id getTarget()
-
setTarget
public void setTarget(com.flower.docs.domain.common.Id target)
-
getResult
public com.flower.docs.domain.component.Version getResult()
-
setResult
public void setResult(com.flower.docs.domain.component.Version result)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classOperationContext
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classOperationContext
-
-