Class AbstractStartup

    • Field Detail

      • name

        protected String name
        Holds the name of a Startup
      • fileName

        protected String fileName
        Holds the name of the file where this startup is defined
      • description

        protected String description
        Holds the description of the startup
      • artifactContainerName

        protected String artifactContainerName
        Name of the artifact container from which the task deployed
      • isEdited

        protected boolean isEdited
        Whether the task edited via the management console
    • Constructor Detail

      • AbstractStartup

        public AbstractStartup()
    • Method Detail

      • getName

        public String getName()
        This will return the name of the startup
        Specified by:
        getName in interface Nameable
        Returns:
        String representing the name
      • setName

        public void setName​(String name)
        This will set the name of a Startup
        Specified by:
        setName in interface Nameable
        Parameters:
        name - String name to be set to the startup
      • getFileName

        public String getFileName()
        Returns the name of the file where this startup is defined
        Specified by:
        getFileName in interface Startup
        Returns:
        a file name as a string or null
      • setFileName

        public void setFileName​(String fileName)
        Set the name of the file name where this startup is defined
        Specified by:
        setFileName in interface Startup
        Parameters:
        fileName - the name of the file as a string
      • getDescription

        public String getDescription()
        Gets the description of the startup
        Specified by:
        getDescription in interface SynapseArtifact
        Returns:
        description of the startup
      • setDescription

        public void setDescription​(String description)
        Sets the description of the startup
        Specified by:
        setDescription in interface SynapseArtifact
        Parameters:
        description - tobe set to the artifact
      • isEdited

        public boolean isEdited()
        Whether the task edited through the management console
        Specified by:
        isEdited in interface Startup
        Returns:
        isEdited
      • setIsEdited

        public void setIsEdited​(boolean isEdited)
        Set whether the task edited through the management console
        Specified by:
        setIsEdited in interface Startup
        Parameters:
        isEdited -
      • getArtifactContainerName

        public String getArtifactContainerName()
        Get the name of the artifact container from which the task deployed
        Specified by:
        getArtifactContainerName in interface Startup
        Returns:
        artifactContainerName
      • setArtifactContainerName

        public void setArtifactContainerName​(String artifactContainerName)
        Set the name of the artifact container from which the task deployed
        Specified by:
        setArtifactContainerName in interface Startup
        Parameters:
        artifactContainerName -