public class LocalInetHostnameSetupInstruction extends SetupInstruction
| Constructor and Description |
|---|
LocalInetHostnameSetupInstruction(String preference_name,
SetupValidityChecker validity_checker,
String prompt_message,
String help_message)
Creates a new
LocalInetHostnameSetupInstruction object. |
LocalInetHostnameSetupInstruction(String preference_name,
String prompt_message,
String help_message)
Creates a new
LocalInetHostnameSetupInstruction object. |
| Modifier and Type | Method and Description |
|---|---|
void |
preProcess()
Sets the default as a hostname for this local host.
|
getDefaultValue, getHelpMessage, getPreferenceName, getPreferences, getPromptMessage, getValidityChecker, isUsingNoEchoPrompt, postProcess, setDefaultValue, setHelpMessage, setPreferences, setPromptMessage, setUsingNoEchoPrompt, setValidityChecker, toStringpublic LocalInetHostnameSetupInstruction(String preference_name, SetupValidityChecker validity_checker, String prompt_message, String help_message) throws IllegalArgumentException
LocalInetHostnameSetupInstruction object. This constructor is to allow an instruction to
define a custom hostname whose default is the current preference's value. The default will not be the platform's
actual FQDN.preference_name - prompt_message - help_message - validity_checker - IllegalArgumentExceptionSetupInstruction.SetupInstruction(String, String, SetupValidityChecker, String, String, boolean)public LocalInetHostnameSetupInstruction(String preference_name, String prompt_message, String help_message) throws IllegalArgumentException
LocalInetHostnameSetupInstruction object. This adds a validity checker such that if the
hostname string that was entered is not a true, DNS resolvable hostname, it fails.preference_name - prompt_message - help_message - IllegalArgumentExceptionSetupInstruction.SetupInstruction(String, String, SetupValidityChecker, String, String, boolean)public void preProcess()
GET_PREF_DEFAULT_MARKER.preProcess in class SetupInstructionSetupInstruction.preProcess()Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.