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