|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.businessfacades.commons.DefaultIntegrationProcessManager
public class DefaultIntegrationProcessManager
Default implementation of IntegrationProcessManager
.
Constructor Summary | |
---|---|
DefaultIntegrationProcessManager()
Creates a new DefaultIntegrationProcessManager |
Method Summary | |
---|---|
Release |
getRelease(java.lang.String name)
Retrieve a Release of software project using its name |
java.util.List |
getReleases()
Retrieve the available releases of software project managed by Join. |
java.util.List |
getStatus()
Retrieve the available status defining the integration process. |
Status |
getStatus(long id)
Retrieve a Status of integration process using its datastore id |
Status |
getStatus(java.lang.String key)
Retrieve a Status of integration process using its key |
java.util.List |
getStatusForType(java.lang.String type)
Retrieve the available status for the specified integration process |
Step |
getStep(long id)
Retrieve a Step of integration process using its datastore id |
Step |
getStep(java.lang.String label)
Retrieve a Step of integration process using its label |
java.util.List |
getSteps()
Retrieve the available steps defining the integration process. |
Target |
getTarget(java.lang.String name)
Retrieve the deployment target having the specified name. |
java.util.List |
getTargets()
Retrieve the deployment targets defining the deployment options for software. |
void |
saveRelease(Release release)
Save a release within datastore. |
void |
saveStatus(Status status)
Save a status within datastore. |
void |
saveStep(Step step)
Save a step within datastore. |
void |
saveTarget(Target target)
Save a deployment target within datastore. |
void |
setReleaseDao(ReleaseDao releaseDao)
|
void |
setStatusDao(StatusDao statusDao)
|
void |
setStepDao(StepDao stepDao)
|
void |
setTargetDao(TargetDao targetDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIntegrationProcessManager()
Method Detail |
---|
public void setStepDao(StepDao stepDao)
stepDao
- The StepDao implementation to usepublic void setStatusDao(StatusDao statusDao)
statusDao
- The StatusDao implementation to usepublic void setTargetDao(TargetDao targetDao)
targetDao
- The TargetDao implementation to usepublic void setReleaseDao(ReleaseDao releaseDao)
releaseDao
- The ReleaseDao implementation to usepublic void saveStatus(Status status) throws DuplicateEntityException
saveStatus
in interface IntegrationProcessManager
status
- The status to save (create or update)
DuplicateEntityException
- if another status with same name already existspublic java.util.List getStatus()
getStatus
in interface IntegrationProcessManager
org.figure8.join.businessobjects.commons.Status
public java.util.List getStatusForType(java.lang.String type)
getStatusForType
in interface IntegrationProcessManager
type
- The type of process to retrieve status for
org.figure8.join.businessobjects.commons.Status
public Status getStatus(long id)
getStatus
in interface IntegrationProcessManager
id
- The datastore identifier of step to retrieve
public Status getStatus(java.lang.String key)
getStatus
in interface IntegrationProcessManager
key
- The key of status to retrieve
public void saveStep(Step step)
saveStep
in interface IntegrationProcessManager
step
- The step to save (create or update)public java.util.List getSteps()
getSteps
in interface IntegrationProcessManager
org.figure8.join.businessobjects.commons.Step
public Step getStep(long id)
getStep
in interface IntegrationProcessManager
id
- The datastore identifier of step to retrieve
public Step getStep(java.lang.String label)
getStep
in interface IntegrationProcessManager
label
- The label of step to retrieve
public void saveTarget(Target target) throws DuplicateEntityException
saveTarget
in interface IntegrationProcessManager
target
- The target to save (create or update)
DuplicateEntityException
- if another target with same name already existspublic java.util.List getTargets()
getTargets
in interface IntegrationProcessManager
org.figure8.join.businessobjects.commons.Target
public Target getTarget(java.lang.String name)
getTarget
in interface IntegrationProcessManager
name
- The name of the deployment target to retrieve
public void saveRelease(Release release) throws DuplicateEntityException
saveRelease
in interface IntegrationProcessManager
release
- The release to save (create or update)
DuplicateEntityException
- if another release with same major and minor already existspublic java.util.List getReleases()
getReleases
in interface IntegrationProcessManager
org.figure8.join.businessobjects.commons.Release
public Release getRelease(java.lang.String name)
getRelease
in interface IntegrationProcessManager
name
- The name of release to retrieve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |