|
Jacson | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.app.turn.Run
public class Run
Simple facade driver for the tournament system.
The main() method commandline enables this facade.
Note that this implementation implies a lot of (simple but useful)
implications on how data is stored:
PairingMode
in file pairingSplittingMode
in file splittingScoringMode
in file scoringRenderMode
in file renderingRenderHtml
Renderer
stored rendered information in subdirectory out.$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/Run.java $
Field Summary | |
---|---|
static java.lang.String |
BP
|
protected FileProxy |
fileProx
Proxy class for ad hoc file serialization. |
static java.lang.String |
PAIRING
|
static java.lang.String |
PLAYERS
|
protected PlayerRegistry |
pRegistry
Central repository for all players. |
static java.lang.String |
RENDERING
|
protected RenderMode |
renderMode
Method of rendering data for nice output. |
protected java.io.File |
root
Base directory for the tournament. |
protected int |
round
Current round. |
static java.lang.String |
ROUND
|
static java.lang.String |
SCORING
|
protected ScoringMode |
scoringMode
Scoring mode applied for the tournament. |
protected boolean |
setupComplete
Hold info, if setup information was complete |
static java.lang.String |
SPLITTING
|
protected SplittingMode |
splittingMode
Method of dividing the players into tables/boards/matches. |
protected long |
totalLastModified
Accumulated modification date of the whole data. |
Constructor Summary | |
---|---|
Run()
|
Method Summary | |
---|---|
boolean |
check4setup(java.lang.String rName)
|
void |
finish()
|
protected boolean |
grokRound(int round,
boolean check)
|
void |
init(java.io.File root)
|
LineSourceInited |
initedInstance(java.lang.String rName)
|
static java.lang.Object |
instance(java.lang.String name,
java.lang.String defaultPackage)
|
static void |
main(java.lang.String[] args)
|
int |
pairing(java.lang.String[] args,
int start)
|
java.io.PrintWriter |
writer(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BP
public static final java.lang.String PLAYERS
public static final java.lang.String PAIRING
public static final java.lang.String SCORING
public static final java.lang.String SPLITTING
public static final java.lang.String RENDERING
public static final java.lang.String ROUND
protected java.io.File root
protected ScoringMode scoringMode
protected SplittingMode splittingMode
protected RenderMode renderMode
protected PlayerRegistry pRegistry
protected int round
protected long totalLastModified
protected FileProxy fileProx
protected boolean setupComplete
Constructor Detail |
---|
public Run()
Method Detail |
---|
public static void main(java.lang.String[] args)
public void init(java.io.File root) throws java.lang.Exception
java.lang.Exception
protected boolean grokRound(int round, boolean check) throws java.lang.Exception
java.lang.Exception
public int pairing(java.lang.String[] args, int start) throws java.lang.Exception
java.lang.Exception
public void finish() throws java.io.IOException
java.io.IOException
public static java.lang.Object instance(java.lang.String name, java.lang.String defaultPackage)
public LineSourceInited initedInstance(java.lang.String rName) throws java.io.IOException
java.io.IOException
public boolean check4setup(java.lang.String rName) throws java.io.IOException
java.io.IOException
public java.io.PrintWriter writer(java.lang.String name) throws java.io.IOException
java.io.IOException
|
spieleck.de | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |