From: David ‘Bombe’ Roden Date: Tue, 14 Jul 2015 19:54:00 +0000 (+0200) Subject: Add constructor that takes an identifier X-Git-Url: https://git.pterodactylus.net/?p=jFCPlib.git;a=commitdiff_plain;h=464aa193ce7617477e2761c4065ca94aa5ea7d20 Add constructor that takes an identifier --- diff --git a/src/main/java/net/pterodactylus/fcp/GetConfig.java b/src/main/java/net/pterodactylus/fcp/GetConfig.java index 230a790..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.