Interface JobDefinitionWithSource

    • Method Detail

      • getSource

        String getSource()
        Get the value for Source. (The full source of the object.)
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getStubSource

        String getStubSource()
        Get the value for StubSource. (The source for the stub of the JobDefinition.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setSource

        void setSource​(String newSource)
        Set the value for Source. (The full source of the object.) This value is optional.
        Parameters:
        newSource - the new value for Source.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.