Class WorkflowReleaseContext
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.business.WorkflowReleaseContext
-
- All Implemented Interfaces:
Serializable
public class WorkflowReleaseContext extends Object implements Serializable
WorkflowReleaseContext.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static 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.StringgetRefBranchRelease()Gets the ref branch release.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(String _strRefBranchRelease)Sets the ref branch release.voidsetRefBranchReleaseFrom(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 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 String getRefBranchRelease()
Gets the ref branch release.- Returns:
- getRefBranchRelease
-
setRefBranchRelease
public void setRefBranchRelease(String _strRefBranchRelease)
Sets the ref branch release.- Parameters:
_strRefBranchRelease- the new ref branch release
-
getRefBranchReleaseFrom
public String getRefBranchReleaseFrom()
Gets the ref branch release from.- Returns:
- getRefBranchReleaseFrom
-
setRefBranchReleaseFrom
public void setRefBranchReleaseFrom(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
-
-