Class Workunit

    • Method Detail

      • get

        public static Workunit get​(Platform platform,
                                   String wuid)
        Gets the.
        Parameters:
        platform - the platform
        wuid - the wuid
        Returns:
        the workunit
      • getPlatform

        public Platform getPlatform()
        Gets the platform.
        Returns:
        the platform
      • getWuid

        public String getWuid()
        Gets the wuid.
        Returns:
        the wuid
      • getQueryText

        public String getQueryText()
        Gets the query text.
        Returns:
        the query text
      • getClusterName

        public Object getClusterName()
        Gets the cluster name.
        Returns:
        the cluster name
      • getStateID

        public WUState getStateID()
        Gets the state ID.
        Returns:
        the state ID
      • isFailedState

        public static boolean isFailedState​(String state)
        Checks if is failed state.
        Parameters:
        state - the state
        Returns:
        true, if is failed state
      • translateWUState

        public static WUState translateWUState​(String state)
        Translate WU state.
        Parameters:
        state - the state
        Returns:
        the WU state
      • getState

        public String getState()
        Gets the state.
        Returns:
        the state
      • getResultViews

        public String[] getResultViews()
        Gets the result views.
        Returns:
        the result views
      • hasApplicationValue

        public boolean hasApplicationValue​(String key)
        Checks for application value.
        Parameters:
        key - the key
        Returns:
        true, if successful
      • getApplicationValue

        public String getApplicationValue​(String key)
        Gets the application value.
        Parameters:
        key - the key
        Returns:
        the application value
      • getResult

        public Result getResult​(Integer sequence)
        Gets the result.
        Parameters:
        sequence - the sequence
        Returns:
        the result
      • getResult

        public Result getResult​(org.hpccsystems.ws.client.gen.axis2.wsworkunits.latest.ECLResult r)
        Gets the result.
        Parameters:
        r - the r
        Returns:
        the result
      • getResults

        public Result[] getResults()
        Gets the results.
        Returns:
        the results
      • getGraphs

        public Graph[] getGraphs()
        Gets the graphs.
        Returns:
        the graphs
      • getSourceFiles

        public LogicalFile[] getSourceFiles()
        Gets the source files.
        Returns:
        the source files
      • getJobname

        public String getJobname()
        Gets the jobname.
        Returns:
        the jobname
      • getOwner

        public String getOwner()
        Gets the owner.
        Returns:
        the owner
      • abort

        public void abort()
        Abort.
      • delete

        public void delete()
        Delete.
      • resubmit

        public void resubmit​(boolean restart,
                             boolean clone)
        Resubmit.
        Parameters:
        restart - the restart
        clone - the clone
      • resubmit

        public void resubmit()
        Resubmit.
      • restart

        public void restart()
        Restart.
      • _clone

        public void _clone()
        Clone.
      • publish

        public void publish()
        Publish.
      • refreshState

        public void refreshState()
        Refresh state.
      • update

        public boolean update​(org.hpccsystems.ws.client.gen.axis2.wsworkunits.latest.ECLWorkunit wu)
        Update.
        Parameters:
        wu - the wu
        Returns:
        true, if successful