@Test public void testGetDescriptionSuffix() { BuildState state = new BuildState(); String suffix1 = BuildStateEnum.BUILD_SUCCESSFUL.getDescriptionSuffix(); String suffix2 = state.getDescriptionSuffix(BuildStateEnum.BUILD_SUCCESSFUL); assertTrue(suffix1.equals(suffix2)); }
public String getDescriptionSuffix(BuildStateEnum state) { return state.getDescriptionSuffix(); }
BuildState { public String getDescriptionSuffix(BuildStateEnum state) { return state.getDescriptionSuffix(); } }
BuildState { public String getDescriptionSuffix(BuildStateEnum state) { return state.getDescriptionSuffix(); } BuildState(); }
BuildState { public String getDescriptionSuffix(BuildStateEnum state) { return state.getDescriptionSuffix(); } BuildState(); Set<BuildStateEnum> getStateSet(); boolean enabled(BuildStateEnum currentBuildState); boolean enabled(BuildStateEnum currentBuildState, boolean success, boolean changed); static BuildStateEnum getEffectiveState(BuildStateEnum currentBuildState, boolean success, boolean changed); void setEnabled(BuildStateEnum currentBuildState, boolean enabled); BuildState setAllEnabled(); void enable(BuildStateEnum currentBuildState); void disable(BuildStateEnum currentBuildState); String getShortName(BuildStateEnum state); String getDescriptionSuffix(BuildStateEnum state); boolean allEnabled(); boolean noneEnabled(); }
BuildState { public String getDescriptionSuffix(BuildStateEnum state) { return state.getDescriptionSuffix(); } BuildState(); Set<BuildStateEnum> getStateSet(); boolean enabled(BuildStateEnum currentBuildState); boolean enabled(BuildStateEnum currentBuildState, boolean success, boolean changed); static BuildStateEnum getEffectiveState(BuildStateEnum currentBuildState, boolean success, boolean changed); void setEnabled(BuildStateEnum currentBuildState, boolean enabled); BuildState setAllEnabled(); void enable(BuildStateEnum currentBuildState); void disable(BuildStateEnum currentBuildState); String getShortName(BuildStateEnum state); String getDescriptionSuffix(BuildStateEnum state); boolean allEnabled(); boolean noneEnabled();  }