@Test public void testReturnOriginalValue() { assertFalse(property.returnOriginalValue()); property.setOverridden(true); assertTrue(property.returnOriginalValue()); property.setOriginalValue(new DescribableList(project, Arrays.asList(new Object())), false); assertTrue(property.returnOriginalValue()); property.setOriginalValue(new DescribableList(project, Arrays.asList(new Object())), true); assertTrue(property.returnOriginalValue()); }
@Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); }
DescribableListProjectProperty extends BaseProjectProperty<DescribableList> { @Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); } }
DescribableListProjectProperty extends BaseProjectProperty<DescribableList> { @Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); } DescribableListProjectProperty(ICascadingJob job); }
DescribableListProjectProperty extends BaseProjectProperty<DescribableList> { @Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); } DescribableListProjectProperty(ICascadingJob job); @Override DescribableList getDefaultValue(); @Override boolean allowOverrideValue(DescribableList cascadingValue, DescribableList candidateValue); @Override DescribableList getOriginalValue(); }
DescribableListProjectProperty extends BaseProjectProperty<DescribableList> { @Override protected boolean returnOriginalValue() { return isOverridden() || !getOriginalValue().isEmpty(); } DescribableListProjectProperty(ICascadingJob job); @Override DescribableList getDefaultValue(); @Override boolean allowOverrideValue(DescribableList cascadingValue, DescribableList candidateValue); @Override DescribableList getOriginalValue();  }