/** * Factory method returning Expections with high availabilty and performance requirements. * * @return high expectations */ public static Expectations highExpectations() { return new Expectations(HIGH, Performance.HIGH); }
/** * Factory method returning Expections with unspecified availabilty and performance requirements. * * @return unspecified expectations */ public static Expectations unspecifiedExpectations() { return new Expectations(NOT_SPECIFIED, Performance.NOT_SPECIFIED); }
/** * Factory method returning Expections with given availabilty and performance requirements. * * @param availability the expected availability * @param performance the expected performance * @return Expectations */ public static Expectations expects(final Availability availability, final Performance performance) { return new Expectations(availability, performance); }
public static Expectations unspecifiedExpectations() { return new Expectations(Availability.NOT_SPECIFIED, Performance.NOT_SPECIFIED); }
/** * Factory method returning Expections with low availabilty and performance requirements. * * @return low expectations */ public static Expectations lowExpectations() { return new Expectations(LOW, Performance.LOW); }
/** * Factory method returning Expections with medium availabilty and performance requirements. * * @return medium expectations */ public static Expectations mediumExpectations() { return new Expectations(MEDIUM, Performance.MEDIUM); }
public static Expectations expects(final Availability availability, final Performance performance) { return new Expectations(availability, performance); }
public static Expectations highExpectations() { return new Expectations(Availability.HIGH, Performance.HIGH); }
public static Expectations lowExpectations() { return new Expectations(Availability.LOW, Performance.LOW); }