Class 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 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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.
        Overrides:
        equals in class Object
        Parameters:
        obj - Object which should be compared to this application id.
        Returns:
        boolean indicating whether the object passed is identical to this process engine id.