public Property createProperty(final String name, final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new PercentComplete(parameters, value); }
/** * {@inheritDoc} */ public final String getValue() { return String.valueOf(getPercentage()); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public PercentComplete(final ParameterList aList, final String aValue) { super(PERCENT_COMPLETE, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * {@inheritDoc} */ public final void validate() throws ValidationException { if (percentage < 0 || percentage > 100) { throw new ValidationException(getName() + " with invalid value: " + percentage); } }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public PercentComplete(final ParameterList aList, final String aValue) { super(PERCENT_COMPLETE, aList, new Factory()); setValue(aValue); }
/** * {@inheritDoc} */ public final void validate() throws ValidationException { if (percentage < 0 || percentage > 100) { throw new ValidationException(getName() + " with invalid value: " + percentage); } }
public Property createProperty() { return new PercentComplete(); } }
/** * {@inheritDoc} */ public final String getValue() { return String.valueOf(getPercentage()); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public PercentComplete(final ParameterList aList, final String aValue) { super(PERCENT_COMPLETE, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * {@inheritDoc} */ public final void validate() throws ValidationException { if (percentage < 0 || percentage > 100) { throw new ValidationException(getName() + " with invalid value: " + percentage); } }
public Property createProperty() { return new PercentComplete(); } }
/** * {@inheritDoc} */ public final String getValue() { return String.valueOf(getPercentage()); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public PercentComplete(final ParameterList aList, final String aValue) { super(PERCENT_COMPLETE, aList, new Factory()); setValue(aValue); }
/** * {@inheritDoc} */ public final void validate() throws ValidationException { if (percentage < 0 || percentage > 100) { throw new ValidationException(getName() + " with invalid value: " + percentage); } }
public Property createProperty(final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new PercentComplete(parameters, value); }
/** * {@inheritDoc} */ public final String getValue() { return String.valueOf(getPercentage()); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public PercentComplete(final ParameterList aList, final String aValue) { super(PERCENT_COMPLETE, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * {@inheritDoc} */ public final void validate() throws ValidationException { if (percentage < 0 || percentage > 100) { throw new ValidationException(getName() + " with invalid value: " + percentage); } } }
public Property createProperty(final ParameterList parameters, final String value) throws IOException, URISyntaxException, ParseException { return new PercentComplete(parameters, value); }
/** * {@inheritDoc} */ public final String getValue() { return String.valueOf(getPercentage()); }