Interface JARFile

    • Method Detail

      • getData

        String getData()
        Get the value for Data. (Base64 encoded version of the file.) 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.
      • setData

        void setData​(String newData)
        Set the value for Data. (Base64 encoded version of the file.) This value is mandatory.
        Parameters:
        newData - the new value for Data. If this is null, then the object cannot be persisted.
        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.
      • writeData

        void writeData​(InputStream inputStream)
                throws IOException
        Write to data from the stream to the JARFile.
        Parameters:
        inputStream - Type of action to retrieve.
        Throws:
        IOException
      • getLibrary

        Library getLibrary()
        Get the Library.
        Returns:
        Library
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.