From 464aa193ce7617477e2761c4065ca94aa5ea7d20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 14 Jul 2015 21:54:00 +0200 Subject: [PATCH] Add constructor that takes an identifier --- src/main/java/net/pterodactylus/fcp/GetConfig.java | 5 +++++ 1 file changed, 5 insertions(+) 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. -- 2.7.4