|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.Props
public class Props
We use Props to store all kinds of user interactive information such as the selected colors, fonts, positions of windows, etc.
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String STRING_FONT_FIXED_NAME
public static final String STRING_FONT_FIXED_SIZE
public static final String STRING_FONT_FIXED_STYLE
public static final String STRING_FONT_DEFAULT_NAME
public static final String STRING_FONT_DEFAULT_SIZE
public static final String STRING_FONT_DEFAULT_STYLE
public static final String STRING_FONT_GRAPH_NAME
public static final String STRING_FONT_GRAPH_SIZE
public static final String STRING_FONT_GRAPH_STYLE
public static final String STRING_FONT_GRID_NAME
public static final String STRING_FONT_GRID_SIZE
public static final String STRING_FONT_GRID_STYLE
public static final String STRING_FONT_NOTE_NAME
public static final String STRING_FONT_NOTE_SIZE
public static final String STRING_FONT_NOTE_STYLE
public static final String STRING_BACKGROUND_COLOR_R
public static final String STRING_BACKGROUND_COLOR_G
public static final String STRING_BACKGROUND_COLOR_B
public static final String STRING_GRAPH_COLOR_R
public static final String STRING_GRAPH_COLOR_G
public static final String STRING_GRAPH_COLOR_B
public static final String STRING_TAB_COLOR_R
public static final String STRING_TAB_COLOR_G
public static final String STRING_TAB_COLOR_B
public static final String STRING_ICON_SIZE
public static final String STRING_LINE_WIDTH
public static final String STRING_SHADOW_SIZE
public static final String STRING_LOG_LEVEL
public static final String STRING_LOG_FILTER
public static final String STRING_MIDDLE_PCT
public static final String STRING_INDICATE_SLOW_TRANS_STEPS
public static final String STRING_LAST_PREVIEW_TRANS
public static final String STRING_LAST_PREVIEW_STEP
public static final String STRING_LAST_PREVIEW_SIZE
public static final String STRING_MAX_UNDO
public static final String STRING_SIZE_MAX
public static final String STRING_SIZE_X
public static final String STRING_SIZE_Y
public static final String STRING_SIZE_W
public static final String STRING_SIZE_H
public static final String STRING_SASH_W1
public static final String STRING_SASH_W2
public static final String STRING_SHOW_TIPS
public static final String STRING_TIP_NR
public static final String STRING_AUTO_SAVE
public static final String STRING_SAVE_CONF
public static final String STRING_AUTO_SPLIT
public static final String STRING_AUTO_COLLAPSE_CORE_TREE
public static final String STRING_USE_DB_CACHE
public static final String STRING_OPEN_LAST_FILE
public static final String STRING_LAST_REPOSITORY_LOGIN
public static final String STRING_LAST_REPOSITORY
public static final String STRING_ONLY_ACTIVE_STEPS
public static final String STRING_START_SHOW_REPOSITORIES
public static final String STRING_ANTI_ALIASING
public static final String STRING_SHOW_EXIT_WARNING
public static final String STRING_SHOW_OS_LOOK
public static final String STRING_LAST_ARGUMENT
public static final String STRING_ARGUMENT_NAME_PREFIX
public static final String STRING_CUSTOM_PARAMETER
public static final String STRING_PLUGIN_HISTORY
public static final String STRING_DEFAULT_PREVIEW_SIZE
public static final String STRING_ONLY_USED_DB_TO_XML
public static final String STRING_ASK_ABOUT_REPLACING_DATABASES
public static final String STRING_REPLACE_DATABASES
public static final String STRING_DISABLE_INITIAL_EXECUTION_HISTORY
public static final int TYPE_PROPERTIES_EMPTY
public static final int TYPE_PROPERTIES_SPOON
public static final int TYPE_PROPERTIES_PAN
public static final int TYPE_PROPERTIES_CHEF
public static final int TYPE_PROPERTIES_KITCHEN
public static final int TYPE_PROPERTIES_MENU
public static final int TYPE_PROPERTIES_PLATE
public static final int WIDGET_STYLE_DEFAULT
public static final int WIDGET_STYLE_FIXED
public static final int WIDGET_STYLE_TABLE
public static final int WIDGET_STYLE_NOTEPAD
public static final int WIDGET_STYLE_GRAPH
public static final int WIDGET_STYLE_TAB
Method Detail |
---|
public static final void init(int t)
display
- The Displayt
- The type of properties file.public static final void init(String filename)
display
- The Displayfilename
- the filename to usepublic static boolean isInitialized()
public static Props getInstance()
public String toString()
toString
in class Object
public String getFilename()
public String getLicenseFilename()
public boolean fileExists()
public void setType(int t)
public int getType()
public boolean loadProps()
public void saveProps()
public void setLogLevel(String level)
public String getLogLevel()
public void setLogFilter(String filter)
public String getLogFilter()
public void setUseDBCache(boolean use)
public boolean useDBCache()
public void setLastRepository(String repname)
public String getLastRepository()
public void setLastRepositoryLogin(String login)
public String getLastRepositoryLogin()
public void setOnlyActiveSteps(boolean only)
public boolean getOnlyActiveSteps()
public boolean askAboutReplacingDatabaseConnections()
public void setProperty(String propertyName, String value)
public String getProperty(String propertyName)
public void setAskAboutReplacingDatabaseConnections(boolean ask)
public String getCustomParameter(String parameterName, String defaultValue)
parameterName
- The parameter namedefaultValue
- The default value in case the parameter doesn't exist yet.
public void setCustomParameter(String parameterName, String value)
parameterName
- The name of the parametervalue
- The value to be stored in the properties file.public void clearCustomParameters()
public static final int getArgumentNumber(ValueMetaInterface value)
value
- The value to determine the argument number for
public static final String[] convertArguments(RowMetaAndData row)
public void setLastArguments(String[] args)
args
- the arguments to savepublic String[] getLastArguments()
public List<ObjectUsageCount> getPluginHistory()
public int increasePluginHistory(String pluginID)
public void addPluginHistory(String pluginID, int uses)
public boolean areOnlyUsedConnectionsSavedToXML()
public void setOnlyUsedConnectionsSavedToXML(boolean onlyUsedConnections)
public boolean replaceExistingDatabaseConnections()
public void setReplaceDatabaseConnections(boolean replace)
public int getMaxNrLinesInLog()
public void setMaxNrLinesInLog(int maxNrLinesInLog)
public int getMaxNrLinesInHistory()
public int getLinesInHistoryFetchSize()
public boolean disableInitialExecutionHistory()
public void setMaxNrLinesInHistory(int maxNrLinesInHistory)
public void setLinesInHistoryFetchSize(int linesInHistoryFetchSize)
public void setDisableInitialExecutionHistory(boolean disable)
public int getMaxLogLineTimeoutMinutes()
public void setMaxLogLineTimeoutMinutes(int maxLogLineTimeoutMinutes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |