|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectndiff.Nconfig
public class Nconfig
Field Summary | |
---|---|
static int |
FindMove
|
static int |
FindUpdate
|
static int |
Normalize
|
static int |
Partition
|
java.util.HashMap<java.lang.Integer,java.util.HashMap<java.lang.String,java.lang.String>> |
phaseParam
|
java.util.Vector<java.lang.Integer> |
phasesOrder
|
static int |
Propagation
|
Constructor Summary | |
---|---|
Nconfig()
Costruttore Se non specificata, viene utilizzata la configurazione di default |
|
Nconfig(java.lang.String XMLconfig)
Imposta l'oggetto con i parametri di configurazione contenuti nel file xml |
Method Summary | |
---|---|
void |
addPhaseParam(java.lang.Integer phase,
java.lang.String param,
java.lang.String value)
Aggiunge il parametro per una fase |
java.lang.Boolean |
getBoolPhaseParam(java.lang.Integer phase,
java.lang.String param)
Ritorna il valore di un parametro relativo ad una fase |
java.lang.Integer |
getIntPhaseParam(java.lang.Integer phase,
java.lang.String param)
Ritorna il valore di un parametro relativo ad una fase |
java.lang.String |
getPhaseParam(java.lang.Integer phase,
java.lang.String param)
Ritorna il valore di un parametro relativo ad una fase |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int Normalize
public static final int Partition
public static final int FindMove
public static final int FindUpdate
public static final int Propagation
public java.util.Vector<java.lang.Integer> phasesOrder
public java.util.HashMap<java.lang.Integer,java.util.HashMap<java.lang.String,java.lang.String>> phaseParam
Constructor Detail |
---|
public Nconfig()
public Nconfig(java.lang.String XMLconfig)
XMLconfig
- Percorso del file di configurazione del diff in formato XMLMethod Detail |
---|
public void addPhaseParam(java.lang.Integer phase, java.lang.String param, java.lang.String value)
phase
- Fase per cui aggiungere il parametroparam
- Nome del parametro da aggiungerevalue
- Valore del parametro da aggiungerepublic java.lang.String getPhaseParam(java.lang.Integer phase, java.lang.String param)
phase
- Fase per cui si vuole ottenere il parametroparam
- Parametro di cui si vuole conoscere il valore
public java.lang.Integer getIntPhaseParam(java.lang.Integer phase, java.lang.String param)
phase
- Fase per cui si vuole ottenere il parametroparam
- Parametro di cui si vuole conoscere il valore
public java.lang.Boolean getBoolPhaseParam(java.lang.Integer phase, java.lang.String param)
phase
- Fase per cui si vuole ottenere il parametroparam
- Parametro di cui si vuole conoscere il valore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |