X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FGetConfig.java;h=3e381bf19c28e497be455170fbd92ffb84b2ba02;hb=05e52ccf3f6e8f2645031cfd3b35f3f71d3a2b82;hp=11e4cc614fee2f1fdb62edb86ebad3a95bb20201;hpb=508624458578f01a393f8b44f32b98b40054fdc8;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/GetConfig.java b/src/main/java/net/pterodactylus/fcp/GetConfig.java index 11e4cc6..3e381bf 100644 --- a/src/main/java/net/pterodactylus/fcp/GetConfig.java +++ b/src/main/java/net/pterodactylus/fcp/GetConfig.java @@ -33,6 +33,11 @@ public class GetConfig extends FcpMessage { super("GetConfig"); } + public GetConfig(String identifer) { + this(); + setField("Identifier", identifer); + } + /** * Sets whether the {@link ConfigData} result message shall include the * current values. @@ -58,8 +63,8 @@ public class GetConfig extends FcpMessage { } /** - * Sets whether the {@link ConfigData} result message shall include the long - * descriptions. + * Sets whether the {@link ConfigData} result message shall include the + * long descriptions. * * @param withLongDescription * true to include the long descriptions in the @@ -70,8 +75,8 @@ public class GetConfig extends FcpMessage { } /** - * Sets whether the {@link ConfigData} result message shall include the data - * types. + * Sets whether the {@link ConfigData} result message shall include the + * data types. * * @param withDataTypes * true to include the data types in the result, @@ -94,8 +99,8 @@ public class GetConfig extends FcpMessage { } /** - * Sets whether the {@link ConfigData} result message shall include the sort - * order. + * Sets whether the {@link ConfigData} result message shall include the + * sort order. * * @param withSortOrder * true to include the sort order in the result,