public class StartImport
extends Object
Constructor and Description |
---|
StartImport() |
Modifier and Type | Method and Description |
---|---|
static Map |
doImport(WTContainer cont,
String data,
String rule,
String policy,
String user,
boolean preview,
boolean overrideConflicts,
boolean detailedLog)
do the import into windchill (see section 6 in WCSysAdminGuide.pdf)
|
static void |
main(String[] a)
commandline invocation of import.
|
public static final int MAJOR
public static final int MINOR
public static void main(String[] a) throws Exception
a
- commandline parametersException
public static Map doImport(WTContainer cont, String data, String rule, String policy, String user, boolean preview, boolean overrideConflicts, boolean detailedLog) throws Exception
cont
- the container to import todata
- the data file (typically jar)rule
- the import rule file name (leave null if absent)policy
- the import policy file name (leave null if absent)user
- the user to import as (leave null if absent)preview
- preview only?overrideConflicts
- true to overridedetailedLog
- true for detailed logException