org.mule.tools.visualizer.config
Class GraphConfig

java.lang.Object
  extended by org.mule.tools.visualizer.config.GraphConfig

public class GraphConfig
extends Object

TODO - document


Field Summary
static String ARG_CAPTION
           
static String ARG_COMBINE_FILES
           
static String ARG_CONFIG
           
static String ARG_DEBUG
           
static String ARG_EXEC
           
static String ARG_FILES
           
static String ARG_HELP
           
static String ARG_KEEP_DOT_FILES
           
static String ARG_MAPPINGS
           
static String ARG_OUTPUT_DIR
           
static String ARG_OUTPUT_FILE
           
static String ARG_SHOW_AGENTS
           
static String ARG_SHOW_ALL
           
static String ARG_SHOW_CONFIG
           
static String ARG_SHOW_CONNECTORS
           
static String ARG_SHOW_MODELS
           
static String ARG_SHOW_TRANSFORMERS
           
static String ARG_TEMPLATE_PROPS
           
static String ARG_URLS
           
static String ARG_WORKING_DIRECTORY
           
 
Constructor Summary
GraphConfig()
           
 
Method Summary
protected  void addIgnorredArributes()
           
protected  String applyDirectory(String dirPath, String path)
          Create os dependent path using directory and relative path.
 String applyOutputDirectory(String path)
          Add outputDir parameter.
 String applyWorkingDirectory(String path)
          Add workingDir parameter.
 String getCaption()
           
 String getExecuteCommand()
           
 List getFiles()
           
 List getIgnoredAttributes()
           
 Properties getMappings()
           
 File getMappingsFile()
           
 File getOutputDirectory()
           
 String getOutputFilename()
           
 Properties getUrls()
           
 File getUrlsFile()
           
 String getWorkingDirectory()
           
 GraphEnvironment init()
           
 GraphEnvironment init(String[] args)
           
 boolean isCombineFiles()
           
 boolean isDebug()
           
 boolean isKeepDotFiles()
           
 boolean isShowAgents()
           
 boolean isShowAll()
           
 boolean isShowConfig()
           
 boolean isShowConnectors()
           
 boolean isShowModels()
           
 boolean isShowTransformers()
           
 void loadProperties(String props)
           
 void loadTemplateProps(String props)
           
 void setCaption(String caption)
           
 void setCombineFiles(boolean combineFiles)
           
 void setDebug(boolean debug)
           
 void setExecuteCommand(String executeCommand)
           
 void setFiles(List files)
           
 void setFilesString(String filesString)
           
 void setIgnoredAttributes(List ignoredAttributes)
           
 void setKeepDotFiles(boolean keepDotFiles)
           
 void setMappings(Properties mappings)
           
 void setMappingsFile(String temp)
           
 void setOutputDirectory(String outputDir)
           
 void setOutputFilename(String outputFilename)
           
 void setShowAgents(boolean showAgents)
           
 void setShowAll(boolean showAll)
           
 void setShowConfig(boolean showConfig)
           
 void setShowConnectors(boolean showConnectors)
           
 void setShowModels(boolean showModels)
           
 void setShowTransformers(boolean showTransformers)
           
 void setUrls(Properties urls)
           
 void setUrlsFile(String temp)
           
 void setWorkingDirectory(String temp)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARG_FILES

public static final String ARG_FILES
See Also:
Constant Field Values

ARG_EXEC

public static final String ARG_EXEC
See Also:
Constant Field Values

ARG_OUTPUT_DIR

public static final String ARG_OUTPUT_DIR
See Also:
Constant Field Values

ARG_OUTPUT_FILE

public static final String ARG_OUTPUT_FILE
See Also:
Constant Field Values

ARG_CAPTION

public static final String ARG_CAPTION
See Also:
Constant Field Values

ARG_MAPPINGS

public static final String ARG_MAPPINGS
See Also:
Constant Field Values

ARG_HELP

public static final String ARG_HELP
See Also:
Constant Field Values

ARG_KEEP_DOT_FILES

public static final String ARG_KEEP_DOT_FILES
See Also:
Constant Field Values

ARG_COMBINE_FILES

public static final String ARG_COMBINE_FILES
See Also:
Constant Field Values

ARG_URLS

public static final String ARG_URLS
See Also:
Constant Field Values

ARG_CONFIG

public static final String ARG_CONFIG
See Also:
Constant Field Values

ARG_WORKING_DIRECTORY

public static final String ARG_WORKING_DIRECTORY
See Also:
Constant Field Values

ARG_DEBUG

public static final String ARG_DEBUG
See Also:
Constant Field Values

ARG_SHOW_CONNECTORS

public static final String ARG_SHOW_CONNECTORS
See Also:
Constant Field Values

ARG_SHOW_MODELS

public static final String ARG_SHOW_MODELS
See Also:
Constant Field Values

ARG_SHOW_CONFIG

public static final String ARG_SHOW_CONFIG
See Also:
Constant Field Values

ARG_SHOW_AGENTS

public static final String ARG_SHOW_AGENTS
See Also:
Constant Field Values

ARG_SHOW_TRANSFORMERS

public static final String ARG_SHOW_TRANSFORMERS
See Also:
Constant Field Values

ARG_SHOW_ALL

public static final String ARG_SHOW_ALL
See Also:
Constant Field Values

ARG_TEMPLATE_PROPS

public static final String ARG_TEMPLATE_PROPS
See Also:
Constant Field Values
Constructor Detail

GraphConfig

public GraphConfig()
Method Detail

init

public GraphEnvironment init()

init

public GraphEnvironment init(String[] args)
                      throws IOException
Throws:
IOException

addIgnorredArributes

protected void addIgnorredArributes()

applyWorkingDirectory

public String applyWorkingDirectory(String path)
Add workingDir parameter.

Parameters:
path - - relative to working directorry
Returns:
os dependent path

applyOutputDirectory

public String applyOutputDirectory(String path)
Add outputDir parameter.

Parameters:
path - - relative to output directory
Returns:
os dependent path

applyDirectory

protected String applyDirectory(String dirPath,
                                String path)
Create os dependent path using directory and relative path.

Parameters:
dirPath - - directory
path - - relative path
Returns:
os dependent path

loadProperties

public void loadProperties(String props)
                    throws IOException
Throws:
IOException

loadTemplateProps

public void loadTemplateProps(String props)
                       throws IOException
Throws:
IOException

validate

public void validate()

getFiles

public List getFiles()

setFiles

public void setFiles(List files)

setFilesString

public void setFilesString(String filesString)

getExecuteCommand

public String getExecuteCommand()

setExecuteCommand

public void setExecuteCommand(String executeCommand)

getOutputDirectory

public File getOutputDirectory()

setOutputDirectory

public void setOutputDirectory(String outputDir)

getCaption

public String getCaption()

setCaption

public void setCaption(String caption)

getMappingsFile

public File getMappingsFile()

setMappingsFile

public void setMappingsFile(String temp)
                     throws IOException
Throws:
IOException

isCombineFiles

public boolean isCombineFiles()

setCombineFiles

public void setCombineFiles(boolean combineFiles)

isKeepDotFiles

public boolean isKeepDotFiles()

setKeepDotFiles

public void setKeepDotFiles(boolean keepDotFiles)

getIgnoredAttributes

public List getIgnoredAttributes()

setIgnoredAttributes

public void setIgnoredAttributes(List ignoredAttributes)

getMappings

public Properties getMappings()

setMappings

public void setMappings(Properties mappings)

getOutputFilename

public String getOutputFilename()

setOutputFilename

public void setOutputFilename(String outputFilename)

getUrls

public Properties getUrls()

setUrls

public void setUrls(Properties urls)

getUrlsFile

public File getUrlsFile()

setUrlsFile

public void setUrlsFile(String temp)
                 throws IOException
Throws:
IOException

isShowConnectors

public boolean isShowConnectors()

setShowConnectors

public void setShowConnectors(boolean showConnectors)

isShowModels

public boolean isShowModels()

setShowModels

public void setShowModels(boolean showModels)

isShowConfig

public boolean isShowConfig()

setShowConfig

public void setShowConfig(boolean showConfig)

isShowAgents

public boolean isShowAgents()

setShowAgents

public void setShowAgents(boolean showAgents)

isShowTransformers

public boolean isShowTransformers()

setShowTransformers

public void setShowTransformers(boolean showTransformers)

isShowAll

public boolean isShowAll()

setShowAll

public void setShowAll(boolean showAll)

setWorkingDirectory

public void setWorkingDirectory(String temp)

getWorkingDirectory

public String getWorkingDirectory()

isDebug

public boolean isDebug()

setDebug

public void setDebug(boolean debug)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.