Skip to content

Commit

Permalink
Component doc
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Apr 24, 2015
1 parent 157c736 commit df79b59
Showing 1 changed file with 19 additions and 27 deletions.
Expand Up @@ -30,45 +30,32 @@ public class DockerConfiguration implements Cloneable {


@UriPath @Metadata(required = "true") @UriPath @Metadata(required = "true")
private DockerOperation operation; private DockerOperation operation;

@UriParam(defaultValue = "localhost") @Metadata(required = "true") @UriParam(defaultValue = "localhost") @Metadata(required = "true")
private String host = "localhost"; private String host = "localhost";

@UriParam(defaultValue = "2375") @Metadata(required = "true") @UriParam(defaultValue = "2375") @Metadata(required = "true")
private Integer port = 2375; private Integer port = 2375;

@UriParam @UriParam
private String username; private String username;

@UriParam @UriParam
private String password; private String password;

@UriParam @UriParam
private String email; private String email;

@UriParam(defaultValue = "https://index.docker.io/v1/") @UriParam(defaultValue = "https://index.docker.io/v1/")
private String serverAddress = "https://index.docker.io/v1/"; private String serverAddress = "https://index.docker.io/v1/";

@UriParam @UriParam
private Integer requestTimeout; private Integer requestTimeout;

@UriParam @UriParam
private Boolean secure; private boolean secure;

@UriParam @UriParam
private String certPath; private String certPath;

@UriParam(defaultValue = "100") @UriParam(defaultValue = "100")
private Integer maxTotalConnections = 100; private Integer maxTotalConnections = 100;

@UriParam(defaultValue = "100") @UriParam(defaultValue = "100")
private Integer maxPerRouteConnections = 100; private Integer maxPerRouteConnections = 100;

@UriParam @UriParam
private Boolean loggingFilterEnabled; private boolean loggingFilter;

@UriParam @UriParam
private Boolean followRedirectFilterEnabled; private boolean followRedirectFilter;


private Map<String, Object> parameters = new HashMap<String, Object>(); private Map<String, Object> parameters = new HashMap<String, Object>();


Expand Down Expand Up @@ -149,14 +136,14 @@ public void setRequestTimeout(Integer requestTimeout) {
this.requestTimeout = requestTimeout; this.requestTimeout = requestTimeout;
} }


public Boolean isSecure() { public boolean isSecure() {
return secure; return secure;
} }


/** /**
* Use HTTPS communication * Use HTTPS communication
*/ */
public void setSecure(Boolean secure) { public void setSecure(boolean secure) {
this.secure = secure; this.secure = secure;
} }


Expand Down Expand Up @@ -193,20 +180,26 @@ public void setMaxPerRouteConnections(Integer maxPerRouteConnections) {
this.maxPerRouteConnections = maxPerRouteConnections; this.maxPerRouteConnections = maxPerRouteConnections;
} }


public Boolean isLoggingFilterEnabled() { public boolean isLoggingFilterEnabled() {
return loggingFilterEnabled; return loggingFilter;
} }


public void setLoggingFilter(Boolean loggingFilterEnabled) { /**
this.loggingFilterEnabled = loggingFilterEnabled; * Whether to use logging filter
*/
public void setLoggingFilter(boolean loggingFilterEnabled) {
this.loggingFilter = loggingFilterEnabled;
} }


public Boolean isFollowRedirectFilterEnabled() { public boolean isFollowRedirectFilterEnabled() {
return followRedirectFilterEnabled; return followRedirectFilter;
} }


public void setFollowRedirectFilter(Boolean followRedirectFilterEnabled) { /**
this.followRedirectFilterEnabled = followRedirectFilterEnabled; * Whether to follow redirect filter
*/
public void setFollowRedirectFilter(boolean followRedirectFilterEnabled) {
this.followRedirectFilter = followRedirectFilterEnabled;
} }


public Map<String, Object> getParameters() { public Map<String, Object> getParameters() {
Expand Down Expand Up @@ -239,5 +232,4 @@ public DockerConfiguration copy() {
} }
} }



} }

0 comments on commit df79b59

Please sign in to comment.