|
|
|
@ -4,16 +4,10 @@ import core.operation.Operation;
|
|
|
|
|
|
|
|
|
|
public abstract class Process{
|
|
|
|
|
|
|
|
|
|
protected static String buttonName;
|
|
|
|
|
protected static String targetURL;
|
|
|
|
|
|
|
|
|
|
protected static String iconURL;
|
|
|
|
|
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
private String permission;
|
|
|
|
|
private Operation operation;
|
|
|
|
|
private String info;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected abstract boolean check();
|
|
|
|
@ -33,18 +27,6 @@ public abstract class Process{
|
|
|
|
|
this.operation = operation;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getButtonName() {
|
|
|
|
|
return buttonName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getInfo() {
|
|
|
|
|
return info;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setInfo(String info) {
|
|
|
|
|
this.info = info;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getStatus() {
|
|
|
|
|
return status;
|
|
|
|
|
}
|
|
|
|
@ -53,11 +35,11 @@ public abstract class Process{
|
|
|
|
|
this.status = status;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getTargetURL() {
|
|
|
|
|
return targetURL;
|
|
|
|
|
}
|
|
|
|
|
public abstract String getInfo();
|
|
|
|
|
|
|
|
|
|
public static String getIconURL() {
|
|
|
|
|
return iconURL;
|
|
|
|
|
}
|
|
|
|
|
public abstract String getTargetURL();
|
|
|
|
|
|
|
|
|
|
public abstract String getIconURL();
|
|
|
|
|
|
|
|
|
|
public abstract String getButtonName();
|
|
|
|
|
}
|
|
|
|
|