org.rhq.enterprise.communications.util.prefs
Class LocalInetAddressNoDefaultSetupInstruction
java.lang.Object
org.rhq.enterprise.communications.util.prefs.SetupInstruction
org.rhq.enterprise.communications.util.prefs.LocalInetAddressNoDefaultSetupInstruction
public class LocalInetAddressNoDefaultSetupInstruction
- extends SetupInstruction
Same as LocalInetAddressSetupInstruction, but it does not
predefine a default. Allows the user to more easily tell us that
he wants to keep the value undefined and rely on the system default.
- Author:
- John Mazzitelli
|
Method Summary |
void |
preProcess()
Sets the default as an IP address for this local host. |
| Methods inherited from class org.rhq.enterprise.communications.util.prefs.SetupInstruction |
getDefaultValue, getHelpMessage, getPreferenceName, getPreferences, getPromptMessage, getValidityChecker, isUsingNoEchoPrompt, postProcess, setDefaultValue, setHelpMessage, setPreferences, setPromptMessage, setUsingNoEchoPrompt, setValidityChecker, toString |
LocalInetAddressNoDefaultSetupInstruction
public LocalInetAddressNoDefaultSetupInstruction(String preference_name,
String prompt_message,
String help_message)
throws IllegalArgumentException
- Creates a new
LocalInetAddressNoDefaultSetupInstruction object.
- Parameters:
preference_name - prompt_message - help_message -
- Throws:
IllegalArgumentException- See Also:
SetupInstruction.SetupInstruction(String, String, SetupValidityChecker, String, String, boolean)
preProcess
public void preProcess()
- Sets the default as an IP address for this local host. We try not to set it to a loopback device.
- Overrides:
preProcess in class SetupInstruction
- See Also:
SetupInstruction.preProcess()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.