@Test public void testPrepareValue() { assertNull(property.prepareValue(null)); Object value = new Object(); assertTrue(value == property.prepareValue(value)); }
protected T prepareValue(T candidateValue) { return candidateValue; }
BaseProjectProperty implements IProjectProperty<T> { protected T prepareValue(T candidateValue) { return candidateValue; } }
BaseProjectProperty implements IProjectProperty<T> { protected T prepareValue(T candidateValue) { return candidateValue; } BaseProjectProperty(ICascadingJob job); }
BaseProjectProperty implements IProjectProperty<T> { protected T prepareValue(T candidateValue) { return candidateValue; } BaseProjectProperty(ICascadingJob job); void setKey(String propertyKey); String getKey(); void setJob(ICascadingJob job); void setOverridden(boolean overridden); @SuppressWarnings("unchecked") T getCascadingValue(); boolean isOverridden(); T getDefaultValue(); T getValue(); @SuppressWarnings("unchecked") void setValue(T value); void resetValue(); boolean allowOverrideValue(T cascadingValue, T candidateValue); T getOriginalValue(); final void onCascadingProjectChanged(); }
BaseProjectProperty implements IProjectProperty<T> { protected T prepareValue(T candidateValue) { return candidateValue; } BaseProjectProperty(ICascadingJob job); void setKey(String propertyKey); String getKey(); void setJob(ICascadingJob job); void setOverridden(boolean overridden); @SuppressWarnings("unchecked") T getCascadingValue(); boolean isOverridden(); T getDefaultValue(); T getValue(); @SuppressWarnings("unchecked") void setValue(T value); void resetValue(); boolean allowOverrideValue(T cascadingValue, T candidateValue); T getOriginalValue(); final void onCascadingProjectChanged();  }