Class ProcessEngineID
- java.lang.Object
-
- com.aquima.interactions.process.impl.ProcessEngineID
-
- All Implemented Interfaces:
Serializable
public class ProcessEngineID extends Object implements Serializable
This class uniquely identifies an process engine by project and module name and version.- Since:
- 9.1
- Author:
- B. van de Ven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessEngineID(String projectName, Version projectVersion, String moduleName, Version moduleVersion)
Default constructor that creates an process engine id based on the project and module name and version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
This method will compare the object passed to this method with the process engine id, and return a boolean indicating whether the object passed exactly identifies the same process engine.String
getModuleName()
This method returns the name of the module this id represents.Version
getModuleVersion()
This method returns the version of the module this id represents.String
getProjectName()
This method returns the name of the project this id represents.Version
getProjectVersion()
This method returns the version of the project this id represents.int
hashCode()
String
toString()
static ProcessEngineID
valueOf(String strProcessEngineId)
Creates a ProcessEngineID from a string representation.
-
-
-
Constructor Detail
-
ProcessEngineID
public ProcessEngineID(String projectName, Version projectVersion, String moduleName, Version moduleVersion)
Default constructor that creates an process engine id based on the project and module name and version. Both the name of the application and the version are mandatory.- Parameters:
projectName
- The name of the project.projectVersion
- The version of the project.moduleName
- The name of the module.moduleVersion
- The version of the module.
-
-
Method Detail
-
valueOf
public static ProcessEngineID valueOf(String strProcessEngineId)
Creates a ProcessEngineID from a string representation.- Parameters:
strProcessEngineId
- string containing the version information.- Returns:
- a ProcessEngineID
-
getModuleName
public String getModuleName()
This method returns the name of the module this id represents.- Returns:
- The name of the process module.
-
getProjectName
public String getProjectName()
This method returns the name of the project this id represents.- Returns:
- The name of the project.
-
getModuleVersion
public Version getModuleVersion()
This method returns the version of the module this id represents.- Returns:
- The version of the process module.
-
getProjectVersion
public Version getProjectVersion()
This method returns the version of the project this id represents.- Returns:
- The version of the project.
-
equals
public boolean equals(Object obj)
This method will compare the object passed to this method with the process engine id, and return a boolean indicating whether the object passed exactly identifies the same process engine.
-
-