Class WorkflowReleaseContext
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.business.WorkflowReleaseContext
-
- All Implemented Interfaces:
java.io.Serializable
public class WorkflowReleaseContext extends java.lang.Object implements java.io.SerializableWorkflowReleaseContext.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringWORKFLOW_RESOURCE_TYPEThe Constant WORKFLOW_RESOURCE_TYPE.
-
Constructor Summary
Constructors Constructor Description WorkflowReleaseContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandResultgetCommandResult()Gets the command result.ComponentgetComponent()Gets the component.intgetId()Gets the id.java.lang.StringgetRefBranchRelease()Gets the ref branch release.java.lang.StringgetRefBranchReleaseFrom()Gets the ref branch release from.IReleaserResourcegetReleaserResource()Gets the releaser resource.ReleaserUsergetReleaserUser()Gets the releaser user.SitegetSite()Gets the site.booleanisLuteceSite()Checks if is lutece site.voidsetCommandResult(CommandResult _commandResult)Sets the command result.voidsetComponent(Component _component)Sets the component.voidsetId(int _nId)Sets the id.voidsetRefBranchRelease(java.lang.String _strRefBranchRelease)Sets the ref branch release.voidsetRefBranchReleaseFrom(java.lang.String _strRefBranchReleaseFrom)Sets the ref branch Release From.voidsetReleaserUser(ReleaserUser _releaserUser)Sets the releaser user.voidsetSite(Site site)Sets the site.
-
-
-
Field Detail
-
WORKFLOW_RESOURCE_TYPE
public static final java.lang.String WORKFLOW_RESOURCE_TYPE
The Constant WORKFLOW_RESOURCE_TYPE.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
Gets the id.- Returns:
- get Id
-
setId
public void setId(int _nId)
Sets the id.- Parameters:
_nId- the new id
-
getComponent
public Component getComponent()
Gets the component.- Returns:
- componet
-
setComponent
public void setComponent(Component _component)
Sets the component.- Parameters:
_component- the new component
-
getCommandResult
public CommandResult getCommandResult()
Gets the command result.- Returns:
- command result
-
setCommandResult
public void setCommandResult(CommandResult _commandResult)
Sets the command result.- Parameters:
_commandResult- command result
-
setSite
public void setSite(Site site)
Sets the site.- Parameters:
site- the new site
-
getSite
public Site getSite()
Gets the site.- Returns:
- get Site
-
isLuteceSite
public boolean isLuteceSite()
Checks if is lutece site.- Returns:
- true if the component is a lutece site
-
getReleaserUser
public ReleaserUser getReleaserUser()
Gets the releaser user.- Returns:
- getReleaserUser
-
setReleaserUser
public void setReleaserUser(ReleaserUser _releaserUser)
Sets the releaser user.- Parameters:
_releaserUser- the new releaser user
-
getRefBranchRelease
public java.lang.String getRefBranchRelease()
Gets the ref branch release.- Returns:
- getRefBranchRelease
-
setRefBranchRelease
public void setRefBranchRelease(java.lang.String _strRefBranchRelease)
Sets the ref branch release.- Parameters:
_strRefBranchRelease- the new ref branch release
-
getRefBranchReleaseFrom
public java.lang.String getRefBranchReleaseFrom()
Gets the ref branch release from.- Returns:
- getRefBranchReleaseFrom
-
setRefBranchReleaseFrom
public void setRefBranchReleaseFrom(java.lang.String _strRefBranchReleaseFrom)
Sets the ref branch Release From.- Parameters:
_strRefBranchReleaseFrom- the new ref branch Release From
-
getReleaserResource
public IReleaserResource getReleaserResource()
Gets the releaser resource.- Returns:
- getReleaserResource
-
-