@Test public void testUpdateOriginalValue() { assertFalse(property.isModified()); assertFalse(property.updateOriginalValue(new Object(), new Object())); property.setModified(true); assertTrue(property.isModified()); assertFalse(property.updateOriginalValue(new Object(), new Object())); assertTrue(property.updateOriginalValue(new Object(), project)); }
@Override protected boolean updateOriginalValue(T value, T cascadingValue) { return isModified() && super.updateOriginalValue(value, cascadingValue); }
ExternalProjectProperty extends BaseProjectProperty<T> { @Override protected boolean updateOriginalValue(T value, T cascadingValue) { return isModified() && super.updateOriginalValue(value, cascadingValue); } }
ExternalProjectProperty extends BaseProjectProperty<T> { @Override protected boolean updateOriginalValue(T value, T cascadingValue) { return isModified() && super.updateOriginalValue(value, cascadingValue); } ExternalProjectProperty(ICascadingJob job); }
ExternalProjectProperty extends BaseProjectProperty<T> { @Override protected boolean updateOriginalValue(T value, T cascadingValue) { return isModified() && super.updateOriginalValue(value, cascadingValue); } ExternalProjectProperty(ICascadingJob job); void setModified(boolean modified); boolean isModified(); }
ExternalProjectProperty extends BaseProjectProperty<T> { @Override protected boolean updateOriginalValue(T value, T cascadingValue) { return isModified() && super.updateOriginalValue(value, cascadingValue); } ExternalProjectProperty(ICascadingJob job); void setModified(boolean modified); boolean isModified();  }