org.pentaho.platform.engine.services.solution
Class SolutionRepoLoadContentGenerator
java.lang.Object
org.pentaho.platform.engine.core.system.PentahoBase
org.pentaho.platform.engine.services.solution.BaseContentGenerator
org.pentaho.platform.engine.services.solution.SimpleContentGenerator
org.pentaho.platform.engine.services.solution.SolutionRepoLoadContentGenerator
- All Implemented Interfaces:
- Serializable, IContentGenerator, ILogger
public class SolutionRepoLoadContentGenerator
- extends SimpleContentGenerator
Loads saved state from the solution repository.
SolutionRepoSaveContentGenerator is used to create these files.
This content generator requires the following parameters:
filepath - the path within the solution repository to laod from
If the file can be found is a valid state file the contents of the
state node are written to the output stream
- Author:
- jamesdixon
- See Also:
- Serialized Form
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase |
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn |
Methods inherited from interface org.pentaho.platform.api.engine.ILogger |
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
SolutionRepoLoadContentGenerator
public SolutionRepoLoadContentGenerator()
createContent
public void createContent(OutputStream out)
throws Exception
- Loads state from the solution repository
- Specified by:
createContent
in class SimpleContentGenerator
- Throws:
Exception
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in class BaseContentGenerator
getMimeType
public String getMimeType()
- Returns the MIME type of the output stream contents - text/text
- Specified by:
getMimeType
in class SimpleContentGenerator