public class PrimaveraSchedulerComparator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PrimaveraSchedulerComparator.Excluded |
| Modifier and Type | Field and Description |
|---|---|
static PrimaveraSchedulerComparator.Excluded |
DEFAULT_EXCLUDED |
| 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 directory,
String suffix)
Compare all the files in a directory with a matching suffix.
|
boolean |
process(ProjectFile baselineFile,
ProjectFile workingFile,
PrimaveraSchedulerComparator.Excluded excluded)
Compare two ProjectFile instances.
|
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 |
setNoFloatTest(Set<String> value)
Tell the comparator to ignore files which PrimaveraScheduler doesn't
currently process to match P6.
|
void |
setNoLongestPathTest(Set<String> value)
Tell the comparator to ignore files which PrimaveraScheduler doesn't
currently process to match P6.
|
void |
setNoPlannedTest(Set<String> value) |
void |
setNoResourceAssignmentTest(Set<String> value)
Tell the comparator not to test resource assignments in these files.
|
void |
setNoWbsTest(Set<String> value)
Tell the comparator not to test the WBS in these files.
|
void |
setPrintStream(PrintStream printStream)
Provide a PrintStream instance for output.
|
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 final PrimaveraSchedulerComparator.Excluded DEFAULT_EXCLUDED
public static void main(String[] argv) throws Exception
argv - command line argumentsExceptionpublic void setDebug(boolean value)
value - pass true to enable debug outputpublic void setPrintStream(PrintStream printStream)
printStream - PrintStream instancepublic 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 void setNoResourceAssignmentTest(Set<String> value)
value - set of excluded filespublic void setNoFloatTest(Set<String> value)
value - set of excluded filespublic void setNoLongestPathTest(Set<String> value)
value - set of excluded filespublic boolean process(File directory, String suffix) throws Exception
directory - directorysuffix - file suffixExceptionpublic boolean process(ProjectFile baselineFile, ProjectFile workingFile, PrimaveraSchedulerComparator.Excluded excluded) throws Exception
baselineFile - baseline projectworkingFile - working projectexcluded - analysis exclusionsExceptionCopyright © 2000–2026 MPXJ. All rights reserved.