public class PrimaveraSchedulerComparator extends Object
Constructor and Description |
---|
PrimaveraSchedulerComparator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] argv)
Main entry point when run as a command line tool.
|
boolean |
process(File file)
Compare an individual file.
|
boolean |
process(File directory,
String suffix)
Compare all the files in a directory with a matching suffix.
|
void |
setDebug(boolean value)
Enable or disable debug output.
|
void |
setExcluded(Set<String> value)
Tell the comparator to ignore files which MicrosoftScheduler doesn't
currently process to match Microsoft Project.
|
void |
setNoWbsTest(Set<String> value)
Tell the comparator not to test the WBS in these file.
|
void |
setUnreadableFiles(Set<String> value)
Tell the comparator to ignore files which Microsoft Project can't read.
|
void |
setUseScheduled(Set<String> value)
Tell the comparator to ignore files which have had new copied created
following "Calculate Project" and "Save As".
|
public static void main(String[] argv) throws Exception
argv
- command line argumentsException
public void setDebug(boolean value)
value
- pass true to enable debug outputpublic void setUnreadableFiles(Set<String> value)
value
- set of unreadable filespublic void setUseScheduled(Set<String> value)
value
- set of scheduled filespublic void setExcluded(Set<String> value)
value
- set of excluded filespublic void setNoWbsTest(Set<String> value)
value
- set of excluded filespublic boolean process(File directory, String suffix) throws Exception
directory
- directorysuffix
- file suffixException
Copyright © 2000–2025 MPXJ. All rights reserved.