Expose lots of constructors and accessors
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / GetConfig.java
index 11e4cc6..3e381bf 100644 (file)
@@ -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
         *            <code>true</code> 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
         *            <code>true</code> 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
         *            <code>true</code> to include the sort order in the result,