|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wgmecad.SecondaryArgumentRegister
Constructor Summary | |
private |
SecondaryArgumentRegister()
|
Method Summary | |
static Argument |
getArgumentFromExpandedAttribute(Object[] attr)
|
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[][] |
getExpandedAttributeArguments()
|
static Object[] |
getExpandedAttributeDefault()
Same format return value as getExpandedAttributeArguments() |
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 SecondaryArgumentRegister |
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[] |
getValidAttributeTypes()
|
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 BOMPartNameValueArgument
public static final String BOMPartNumberValueArgument
public static final String BOMQuantityValueArgument
public static final String BOMRefDesValueArgument
public static final String toggleVisArgument
public static final String toggleVisReuseArgument
public static final String cagecodeOnArgument
public static final String cagecodeSeperatorArgument
public static final String regenerateBomArgument
public static final String regenerateBomThisTimeArgument
public static final String variantBomThisTimeArgument
public static final String bomReportNameArgument
public static final String generateBOMfromSchematic
public static final String setupArgument
public static final String hookPrefix
public static final String attributePrefix
public static final String configPrefix
public static final String favoritesPrefix
public static final String cagecodePrefix
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 DirectoryArgument
public static final String designDirectoryArgument
public static final String schematicDirectoryArgument
public static final String boardDirectoryArgument
public static final String tempDnDirArgument
public static final String tempSchDirArgument
public static final String tempBrdDirArgument
public static final String SchLocArgument
public static final String BrdLocArgument
public static final String DesignLocArgument
static org.apache.log4j.Logger logger
private static SecondaryArgumentRegister 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[] attributeTypes
private static final String[] epmDocTypes
private static final String[] attributeReceive
private static final String[] attributeSend
Constructor Detail |
private SecondaryArgumentRegister()
Method Detail |
public static SecondaryArgumentRegister getInstance()
public static String[] getValidHookFunctions()
public static String[] getValidHookWhen()
public static String[] getValidEPMDocs()
public static String[] getValidAttributeTypes()
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 Argument getArgumentFromExpandedAttribute(Object[] attr)
public static Object[] getExpandedHookDefault()
public static Object[] getExpandedAttributeDefault() throws InvalidArgumentException
InvalidArgumentException
public Object[][] getExpandedConfigurationArguments()
private Object[][] getExpandedArguments(String prefix)
public Object[][] getExpandedAttributeArguments()
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 |