org.pentaho.di.resource
Class ResourceDefinition

java.lang.Object
  extended by org.pentaho.di.resource.ResourceDefinition

public class ResourceDefinition
extends Object


Constructor Summary
ResourceDefinition(String filename, String content)
           
 
Method Summary
 String getContent()
           
 String getFilename()
           
 String getOrigin()
           
 void setContent(String content)
           
 void setFilename(String filename)
           
 void setOrigin(String origin)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceDefinition

public ResourceDefinition(String filename,
                          String content)
Parameters:
filename -
content -
Method Detail

getFilename

public String getFilename()
Returns:
the filename

setFilename

public void setFilename(String filename)
Parameters:
filename - the filename to set

getContent

public String getContent()
Returns:
the content

setContent

public void setContent(String content)
Parameters:
content - the content to set

getOrigin

public String getOrigin()
Returns:
the origin of the resource as entered by the user. (optional)

setOrigin

public void setOrigin(String origin)
Parameters:
origin - the origin of the resource as entered by the user. (optional)