public abstract class Instruction<T extends Target> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Instruction(T target) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLogEntry(ImportStatus status,
String messageKey,
String impactKey,
Object... messageArgs) |
LogTrain |
execute(Facility facility)
Must "execute" I agree, but more importantly must validate.
|
protected abstract LogTrain |
executeCreate(Facility facility) |
protected abstract LogTrain |
executeDelete(Facility facility) |
protected abstract LogTrain |
executeUpdate(Facility facility) |
int |
getLine() |
ImportMode |
getMode() |
T |
getTarget() |
void |
setLine(int line) |
void |
setMode(ImportMode mode) |
protected final LogTrain logTrain
protected Instruction(T target)
public int getLine()
public void setLine(int line)
public ImportMode getMode()
public void setMode(ImportMode mode)
public void addLogEntry(ImportStatus status, String messageKey, String impactKey, Object... messageArgs)
public T getTarget()
public final LogTrain execute(Facility facility)
facility - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.