|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wgmecad.ArgumentRegister
Constructor Summary | |
private |
ArgumentRegister()
|
Method Summary | |
static Argument |
getArgumentFromExpandedConfig(Object[] attr,
int idx)
|
static String |
getArgumentFromExpandedConfigStatus(Object[] attr,
int idx)
|
private static String[] |
getEveryOtherElement(String[] arr,
int offset)
returns an array composed of every other element of the array arr passed in, offset by offset. |
static String |
getExcludeArgForFile(String f)
|
static Object[] |
getExpandedArgument(Argument arg,
String prefix)
returns values thru the arguments function and when - these are assumed to be empty when passed to the function. |
private Object[][] |
getExpandedArguments(String prefix)
|
Object[][] |
getExpandedConfigurationArguments()
|
Object[][] |
getExpandedFileLocationsArguments()
|
Object[][] |
getExpandedHookArguments()
returns a two dimensional array - in the form: { {func1, when1, exe1, parameter1}, {func2, when2, exe2, parameter2}, ... |
static Object[] |
getExpandedHookDefault()
Same format return value as getExpandedHookArguments() |
String |
getHookArgument(String function,
String when)
|
String |
getHookArgumentOrig(String function,
String when)
|
static ArgumentRegister |
getInstance()
|
static String |
getLongForm(String abbrev,
String[] list)
Get the long form for an abbreviation of a string based on an array of strings of the form: |
static String |
getShortForm(String longForm,
String[] list)
Get the abbreviation for the long form of a string based on an array of strings of the form: |
static String[] |
getValidEPMDocs()
|
static String[] |
getValidHookFunctions()
|
static String[] |
getValidHookWhen()
|
static boolean |
isValidHookArgument(String arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String serverNameArgument
public static final String CLASSIC_Argument
public static final String PDMLINK_Argument
public static final String PRJLINK_Argument
public static final String MandatoryCommentArgument
public static final String GlobalCommentArgument
public static final String setupArgument
public static final String MotifLandFArgument
public static final String MetalLandFArgument
public static final String whatLFArgument
public static final String skipStatusArgument
public static final String CurrentCommandArgument
public static final String Last_New_OptionArgument
public static final String Last_CI_OptionArgument
public static final String Last_CO_OptionArgument
public static final String Last_CCO_OptionArgument
public static final String Last_GC_OptionArgument
public static final String Last_NewRev_OptionArgument
public static final String hookPrefix
public static final String configPrefix
public static final int COUNT_CONFIGURATIONCOLUMNS
public static final int COUNT_CONFIGURATIONSTATUSCOLUMNS
public static final int INDEX_VALUELOCKED
public static final int INDEX_VALUEDEFAULT
public static final int INDEX_VALUEEPMDOC
public static final int INDEX_FILEGROUPNAME
public static final int INDEX_FILEPARENTDIR
public static final int INDEX_FILEPATTERN
public static final int INDEX_EPMDESCRIBES
public static final int INDEX_FILESTATUS
public static final int INDEX_FILESIZE
public static final String WGM_HOME
static org.apache.log4j.Logger logger
private static ArgumentRegister instance
public static final String[] fileLocationTypes
private static final String configurationDelim
private static final String[] functions
private static final String[] hookTiming
private static final String[] epmDocTypes
Constructor Detail |
private ArgumentRegister()
Method Detail |
public static ArgumentRegister getInstance()
public static String[] getValidHookFunctions()
public static String[] getValidHookWhen()
public static String[] getValidEPMDocs()
public static boolean isValidHookArgument(String arg)
private static String[] getEveryOtherElement(String[] arr, int offset)
public static String getShortForm(String longForm, String[] list) throws InvalidArgumentException
InvalidArgumentException
public static String getLongForm(String abbrev, String[] list) throws InvalidArgumentException
InvalidArgumentException
public String getHookArgumentOrig(String function, String when) throws InvalidArgumentException
InvalidArgumentException
public String getHookArgument(String function, String when) throws InvalidArgumentException
InvalidArgumentException
public static Object[] getExpandedArgument(Argument arg, String prefix) throws InvalidArgumentException
InvalidArgumentException
public static Argument getArgumentFromExpandedConfig(Object[] attr, int idx)
public static String getArgumentFromExpandedConfigStatus(Object[] attr, int idx)
public static Object[] getExpandedHookDefault()
public Object[][] getExpandedConfigurationArguments()
private Object[][] getExpandedArguments(String prefix)
public Object[][] getExpandedHookArguments()
public Object[][] getExpandedFileLocationsArguments()
public static String getExcludeArgForFile(String f)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |