org.pentaho.platform.engine.core.solution
Class ContentInfo

java.lang.Object
  extended by org.pentaho.platform.engine.core.solution.ContentInfo
All Implemented Interfaces:
IContentInfo

public class ContentInfo
extends Object
implements IContentInfo


Constructor Summary
ContentInfo()
           
 
Method Summary
 void addOperation(IPluginOperation operation)
           
 String getDescription()
          The description of this content type as presented to the user Implementors of this interface should provide localization for the description
 String getExtension()
          The extension of files that generate this content type.
 String getIconUrl()
          Returns an url to an icon for this content type
 String getMimeType()
          The mime-type of the generated content e.g.
 List<IPluginOperation> getOperations()
          Returns a list of the operations that are available for this content type
 String getTitle()
          The title of this content type as presented to the user Implementors of this interface should provide localization for the title e.g.
 void setDescription(String description)
           
 void setExtension(String extension)
           
 void setIconUrl(String iconUrl)
           
 void setMimeType(String mimeType)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentInfo

public ContentInfo()
Method Detail

setIconUrl

public void setIconUrl(String iconUrl)

getDescription

public String getDescription()
Description copied from interface: IContentInfo
The description of this content type as presented to the user Implementors of this interface should provide localization for the description

Specified by:
getDescription in interface IContentInfo
Returns:
title

setDescription

public void setDescription(String description)

getExtension

public String getExtension()
Description copied from interface: IContentInfo
The extension of files that generate this content type. e.g. 'xaction'

Specified by:
getExtension in interface IContentInfo
Returns:
file extension

setExtension

public void setExtension(String extension)

getMimeType

public String getMimeType()
Description copied from interface: IContentInfo
The mime-type of the generated content e.g. 'text/html'

Specified by:
getMimeType in interface IContentInfo
Returns:
mime type

setMimeType

public void setMimeType(String mimeType)

getTitle

public String getTitle()
Description copied from interface: IContentInfo
The title of this content type as presented to the user Implementors of this interface should provide localization for the title e.g. 'Executable action'

Specified by:
getTitle in interface IContentInfo
Returns:
title

setTitle

public void setTitle(String title)

getOperations

public List<IPluginOperation> getOperations()
Description copied from interface: IContentInfo
Returns a list of the operations that are available for this content type

Specified by:
getOperations in interface IContentInfo
Returns:
the available plugin operations

getIconUrl

public String getIconUrl()
Description copied from interface: IContentInfo
Returns an url to an icon for this content type

Specified by:
getIconUrl in interface IContentInfo
Returns:

addOperation

public void addOperation(IPluginOperation operation)