javax.constraints.scheduler.ConstraintActivityResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsr331-scheduler Show documentation
Show all versions of jsr331-scheduler Show documentation
This is a JSR331 package for scheduling and resource allocation problems
The newest version!
package javax.constraints.scheduler;
import javax.constraints.Constraint;
import javax.constraints.Var;
/**
* This is an interface for different resource constraints.
*/
public interface ConstraintActivityResource extends Constraint {
public Activity getActivity();
public int getCapacity();
public Var getCapacityVar();
public Resource getResource();
public String getFailureReason();
public void setFailureReason(String failureReason);
public String getType();
public void setType(String type);
}