Package net.guizhanss.guizhanlib.updater
Class UpdaterConfig
java.lang.Object
net.guizhanss.guizhanlib.updater.UpdaterConfig
This class contains config options for
GuizhanBuildsUpdater,
which is passed as an argument.- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdaterConfig(boolean checkOnly, String baseUrl) Creates a newUpdaterConfiginstance. -
Method Summary
Modifier and TypeMethodDescriptionbaseUrl()The base URL of Guizhan Builds.The base URL of Guizhan Builds.builder()booleanLimits the updater to check update only, no file download.checkOnly(boolean checkOnly) Limits the updater to check update only, no file download.booleaninthashCode()toString()
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
UpdaterConfig
public UpdaterConfig() -
UpdaterConfig
Creates a newUpdaterConfiginstance.- Parameters:
checkOnly- Limits the updater to check update only, no file download.baseUrl- The base URL of Guizhan Builds.
-
-
Method Details
-
builder
-
checkOnly
public boolean checkOnly()Limits the updater to check update only, no file download. -
baseUrl
The base URL of Guizhan Builds. -
checkOnly
Limits the updater to check update only, no file download.- Returns:
this.
-
baseUrl
The base URL of Guizhan Builds.- Returns:
this.
-
equals
-
hashCode
public int hashCode() -
toString
-