diff options
author | mattinger <[email protected]> | 2006-08-17 05:52:42 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2006-08-17 05:52:42 +0000 |
commit | 2f043df017029699bd2d103308a586314bcca9ee (patch) | |
tree | 256d64a572424cf04b22d8df604f82446ddd5925 /src/java | |
parent | 871350dd27dfbb12c0fd6dd6b7424260309b318c (diff) |
adding manuals
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@22 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/net/sf/antcontrib/net/httpclient/MethodParams.java | 4 | ||||
-rw-r--r-- | src/java/net/sf/antcontrib/net/httpclient/Params.java | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/java/net/sf/antcontrib/net/httpclient/MethodParams.java b/src/java/net/sf/antcontrib/net/httpclient/MethodParams.java index 85185e7..fddd648 100644 --- a/src/java/net/sf/antcontrib/net/httpclient/MethodParams.java +++ b/src/java/net/sf/antcontrib/net/httpclient/MethodParams.java @@ -43,4 +43,8 @@ public class MethodParams setParameter(param.getName(), param.getValue());
}
+ public void addConfiguredBoolean(Params.BooleanParam param) {
+ setBooleanParameter(param.getName(), param.getValue());
+ }
+
}
diff --git a/src/java/net/sf/antcontrib/net/httpclient/Params.java b/src/java/net/sf/antcontrib/net/httpclient/Params.java index ac1be93..94acd30 100644 --- a/src/java/net/sf/antcontrib/net/httpclient/Params.java +++ b/src/java/net/sf/antcontrib/net/httpclient/Params.java @@ -27,6 +27,19 @@ public class Params { }
+ public static class BooleanParam extends Param{
+ private boolean value;
+
+ public boolean getValue() {
+ return value;
+ }
+
+ public void setValue(boolean value) {
+ this.value = value;
+ }
+
+ }
+
public static class IntParam extends Param{
private int value;
|