repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
partition
stringclasses
1 value
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup_sslcipher_binding.java
sslservicegroup_sslcipher_binding.get
public static sslservicegroup_sslcipher_binding[] get(nitro_service service, String servicegroupname) throws Exception{ sslservicegroup_sslcipher_binding obj = new sslservicegroup_sslcipher_binding(); obj.set_servicegroupname(servicegroupname); sslservicegroup_sslcipher_binding response[] = (sslservicegroup_sslci...
java
public static sslservicegroup_sslcipher_binding[] get(nitro_service service, String servicegroupname) throws Exception{ sslservicegroup_sslcipher_binding obj = new sslservicegroup_sslcipher_binding(); obj.set_servicegroupname(servicegroupname); sslservicegroup_sslcipher_binding response[] = (sslservicegroup_sslci...
[ "public", "static", "sslservicegroup_sslcipher_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "servicegroupname", ")", "throws", "Exception", "{", "sslservicegroup_sslcipher_binding", "obj", "=", "new", "sslservicegroup_sslcipher_binding", "(", ...
Use this API to fetch sslservicegroup_sslcipher_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslservicegroup_sslcipher_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup_sslcipher_binding.java#L131-L136
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java
tmsessionaction.add
public static base_response add(nitro_service client, tmsessionaction resource) throws Exception { tmsessionaction addresource = new tmsessionaction(); addresource.name = resource.name; addresource.sesstimeout = resource.sesstimeout; addresource.defaultauthorizationaction = resource.defaultauthorizationaction; ...
java
public static base_response add(nitro_service client, tmsessionaction resource) throws Exception { tmsessionaction addresource = new tmsessionaction(); addresource.name = resource.name; addresource.sesstimeout = resource.sesstimeout; addresource.defaultauthorizationaction = resource.defaultauthorizationaction; ...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "tmsessionaction", "resource", ")", "throws", "Exception", "{", "tmsessionaction", "addresource", "=", "new", "tmsessionaction", "(", ")", ";", "addresource", ".", "name", "=", "resou...
Use this API to add tmsessionaction.
[ "Use", "this", "API", "to", "add", "tmsessionaction", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java#L322-L336
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java
tmsessionaction.add
public static base_responses add(nitro_service client, tmsessionaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmsessionaction addresources[] = new tmsessionaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
java
public static base_responses add(nitro_service client, tmsessionaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmsessionaction addresources[] = new tmsessionaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "tmsessionaction", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ...
Use this API to add tmsessionaction resources.
[ "Use", "this", "API", "to", "add", "tmsessionaction", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java#L341-L362
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java
tmsessionaction.update
public static base_response update(nitro_service client, tmsessionaction resource) throws Exception { tmsessionaction updateresource = new tmsessionaction(); updateresource.name = resource.name; updateresource.sesstimeout = resource.sesstimeout; updateresource.defaultauthorizationaction = resource.defaultauthor...
java
public static base_response update(nitro_service client, tmsessionaction resource) throws Exception { tmsessionaction updateresource = new tmsessionaction(); updateresource.name = resource.name; updateresource.sesstimeout = resource.sesstimeout; updateresource.defaultauthorizationaction = resource.defaultauthor...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "tmsessionaction", "resource", ")", "throws", "Exception", "{", "tmsessionaction", "updateresource", "=", "new", "tmsessionaction", "(", ")", ";", "updateresource", ".", "name", "=",...
Use this API to update tmsessionaction.
[ "Use", "this", "API", "to", "update", "tmsessionaction", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java#L417-L431
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java
tmsessionaction.update
public static base_responses update(nitro_service client, tmsessionaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmsessionaction updateresources[] = new tmsessionaction[resources.length]; for (int i=0;i<resources.length;i++){ updatere...
java
public static base_responses update(nitro_service client, tmsessionaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmsessionaction updateresources[] = new tmsessionaction[resources.length]; for (int i=0;i<resources.length;i++){ updatere...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "tmsessionaction", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources",...
Use this API to update tmsessionaction resources.
[ "Use", "this", "API", "to", "update", "tmsessionaction", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java#L436-L457
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java
tmsessionaction.get
public static tmsessionaction[] get(nitro_service service) throws Exception{ tmsessionaction obj = new tmsessionaction(); tmsessionaction[] response = (tmsessionaction[])obj.get_resources(service); return response; }
java
public static tmsessionaction[] get(nitro_service service) throws Exception{ tmsessionaction obj = new tmsessionaction(); tmsessionaction[] response = (tmsessionaction[])obj.get_resources(service); return response; }
[ "public", "static", "tmsessionaction", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "tmsessionaction", "obj", "=", "new", "tmsessionaction", "(", ")", ";", "tmsessionaction", "[", "]", "response", "=", "(", "tmsessionaction"...
Use this API to fetch all the tmsessionaction resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "tmsessionaction", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java#L506-L510
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java
tmsessionaction.get
public static tmsessionaction get(nitro_service service, String name) throws Exception{ tmsessionaction obj = new tmsessionaction(); obj.set_name(name); tmsessionaction response = (tmsessionaction) obj.get_resource(service); return response; }
java
public static tmsessionaction get(nitro_service service, String name) throws Exception{ tmsessionaction obj = new tmsessionaction(); obj.set_name(name); tmsessionaction response = (tmsessionaction) obj.get_resource(service); return response; }
[ "public", "static", "tmsessionaction", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "tmsessionaction", "obj", "=", "new", "tmsessionaction", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "tms...
Use this API to fetch tmsessionaction resource of given name .
[ "Use", "this", "API", "to", "fetch", "tmsessionaction", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionaction.java#L522-L527
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.add
public static base_response add(nitro_service client, lbwlm resource) throws Exception { lbwlm addresource = new lbwlm(); addresource.wlmname = resource.wlmname; addresource.ipaddress = resource.ipaddress; addresource.port = resource.port; addresource.lbuid = resource.lbuid; addresource.katimeout = resource...
java
public static base_response add(nitro_service client, lbwlm resource) throws Exception { lbwlm addresource = new lbwlm(); addresource.wlmname = resource.wlmname; addresource.ipaddress = resource.ipaddress; addresource.port = resource.port; addresource.lbuid = resource.lbuid; addresource.katimeout = resource...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "lbwlm", "resource", ")", "throws", "Exception", "{", "lbwlm", "addresource", "=", "new", "lbwlm", "(", ")", ";", "addresource", ".", "wlmname", "=", "resource", ".", "wlmname", ...
Use this API to add lbwlm.
[ "Use", "this", "API", "to", "add", "lbwlm", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L210-L218
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.add
public static base_responses add(nitro_service client, lbwlm resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbwlm addresources[] = new lbwlm[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new lbwlm(); addresour...
java
public static base_responses add(nitro_service client, lbwlm resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbwlm addresources[] = new lbwlm[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new lbwlm(); addresour...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "lbwlm", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "le...
Use this API to add lbwlm resources.
[ "Use", "this", "API", "to", "add", "lbwlm", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L223-L238
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.delete
public static base_response delete(nitro_service client, String wlmname) throws Exception { lbwlm deleteresource = new lbwlm(); deleteresource.wlmname = wlmname; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, String wlmname) throws Exception { lbwlm deleteresource = new lbwlm(); deleteresource.wlmname = wlmname; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "String", "wlmname", ")", "throws", "Exception", "{", "lbwlm", "deleteresource", "=", "new", "lbwlm", "(", ")", ";", "deleteresource", ".", "wlmname", "=", "wlmname", ";", "ret...
Use this API to delete lbwlm of given name.
[ "Use", "this", "API", "to", "delete", "lbwlm", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L243-L247
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.delete
public static base_responses delete(nitro_service client, String wlmname[]) throws Exception { base_responses result = null; if (wlmname != null && wlmname.length > 0) { lbwlm deleteresources[] = new lbwlm[wlmname.length]; for (int i=0;i<wlmname.length;i++){ deleteresources[i] = new lbwlm(); deleteres...
java
public static base_responses delete(nitro_service client, String wlmname[]) throws Exception { base_responses result = null; if (wlmname != null && wlmname.length > 0) { lbwlm deleteresources[] = new lbwlm[wlmname.length]; for (int i=0;i<wlmname.length;i++){ deleteresources[i] = new lbwlm(); deleteres...
[ "public", "static", "base_responses", "delete", "(", "nitro_service", "client", ",", "String", "wlmname", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "wlmname", "!=", "null", "&&", "wlmname", ".", "leng...
Use this API to delete lbwlm resources of given names.
[ "Use", "this", "API", "to", "delete", "lbwlm", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L261-L272
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.update
public static base_response update(nitro_service client, lbwlm resource) throws Exception { lbwlm updateresource = new lbwlm(); updateresource.wlmname = resource.wlmname; updateresource.katimeout = resource.katimeout; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, lbwlm resource) throws Exception { lbwlm updateresource = new lbwlm(); updateresource.wlmname = resource.wlmname; updateresource.katimeout = resource.katimeout; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "lbwlm", "resource", ")", "throws", "Exception", "{", "lbwlm", "updateresource", "=", "new", "lbwlm", "(", ")", ";", "updateresource", ".", "wlmname", "=", "resource", ".", "wl...
Use this API to update lbwlm.
[ "Use", "this", "API", "to", "update", "lbwlm", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L293-L298
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.update
public static base_responses update(nitro_service client, lbwlm resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbwlm updateresources[] = new lbwlm[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new lbwlm(); ...
java
public static base_responses update(nitro_service client, lbwlm resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbwlm updateresources[] = new lbwlm[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new lbwlm(); ...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "lbwlm", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", ...
Use this API to update lbwlm resources.
[ "Use", "this", "API", "to", "update", "lbwlm", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L303-L315
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.unset
public static base_response unset(nitro_service client, lbwlm resource, String[] args) throws Exception{ lbwlm unsetresource = new lbwlm(); unsetresource.wlmname = resource.wlmname; return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, lbwlm resource, String[] args) throws Exception{ lbwlm unsetresource = new lbwlm(); unsetresource.wlmname = resource.wlmname; return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "lbwlm", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "lbwlm", "unsetresource", "=", "new", "lbwlm", "(", ")", ";", "unsetresource", ".", "wlm...
Use this API to unset the properties of lbwlm resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "lbwlm", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L321-L325
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.unset
public static base_responses unset(nitro_service client, String wlmname[], String args[]) throws Exception { base_responses result = null; if (wlmname != null && wlmname.length > 0) { lbwlm unsetresources[] = new lbwlm[wlmname.length]; for (int i=0;i<wlmname.length;i++){ unsetresources[i] = new lbwlm(); ...
java
public static base_responses unset(nitro_service client, String wlmname[], String args[]) throws Exception { base_responses result = null; if (wlmname != null && wlmname.length > 0) { lbwlm unsetresources[] = new lbwlm[wlmname.length]; for (int i=0;i<wlmname.length;i++){ unsetresources[i] = new lbwlm(); ...
[ "public", "static", "base_responses", "unset", "(", "nitro_service", "client", ",", "String", "wlmname", "[", "]", ",", "String", "args", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "wlmname", "!=", "...
Use this API to unset the properties of lbwlm resources. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "lbwlm", "resources", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L331-L342
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.get
public static lbwlm[] get(nitro_service service, options option) throws Exception{ lbwlm obj = new lbwlm(); lbwlm[] response = (lbwlm[])obj.get_resources(service,option); return response; }
java
public static lbwlm[] get(nitro_service service, options option) throws Exception{ lbwlm obj = new lbwlm(); lbwlm[] response = (lbwlm[])obj.get_resources(service,option); return response; }
[ "public", "static", "lbwlm", "[", "]", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "lbwlm", "obj", "=", "new", "lbwlm", "(", ")", ";", "lbwlm", "[", "]", "response", "=", "(", "lbwlm", "[", "]", ...
Use this API to fetch all the lbwlm resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "lbwlm", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L372-L376
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.get
public static lbwlm get(nitro_service service, String wlmname) throws Exception{ lbwlm obj = new lbwlm(); obj.set_wlmname(wlmname); lbwlm response = (lbwlm) obj.get_resource(service); return response; }
java
public static lbwlm get(nitro_service service, String wlmname) throws Exception{ lbwlm obj = new lbwlm(); obj.set_wlmname(wlmname); lbwlm response = (lbwlm) obj.get_resource(service); return response; }
[ "public", "static", "lbwlm", "get", "(", "nitro_service", "service", ",", "String", "wlmname", ")", "throws", "Exception", "{", "lbwlm", "obj", "=", "new", "lbwlm", "(", ")", ";", "obj", ".", "set_wlmname", "(", "wlmname", ")", ";", "lbwlm", "response", ...
Use this API to fetch lbwlm resource of given name .
[ "Use", "this", "API", "to", "fetch", "lbwlm", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L380-L385
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java
lbwlm.get
public static lbwlm[] get(nitro_service service, String wlmname[]) throws Exception{ if (wlmname !=null && wlmname.length>0) { lbwlm response[] = new lbwlm[wlmname.length]; lbwlm obj[] = new lbwlm[wlmname.length]; for (int i=0;i<wlmname.length;i++) { obj[i] = new lbwlm(); obj[i].set_wlmname(wlmname[i...
java
public static lbwlm[] get(nitro_service service, String wlmname[]) throws Exception{ if (wlmname !=null && wlmname.length>0) { lbwlm response[] = new lbwlm[wlmname.length]; lbwlm obj[] = new lbwlm[wlmname.length]; for (int i=0;i<wlmname.length;i++) { obj[i] = new lbwlm(); obj[i].set_wlmname(wlmname[i...
[ "public", "static", "lbwlm", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "wlmname", "[", "]", ")", "throws", "Exception", "{", "if", "(", "wlmname", "!=", "null", "&&", "wlmname", ".", "length", ">", "0", ")", "{", "lbwlm", "respon...
Use this API to fetch lbwlm resources of given names .
[ "Use", "this", "API", "to", "fetch", "lbwlm", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbwlm.java#L390-L402
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmglobal_tmtrafficpolicy_binding.java
tmglobal_tmtrafficpolicy_binding.get
public static tmglobal_tmtrafficpolicy_binding[] get(nitro_service service) throws Exception{ tmglobal_tmtrafficpolicy_binding obj = new tmglobal_tmtrafficpolicy_binding(); tmglobal_tmtrafficpolicy_binding response[] = (tmglobal_tmtrafficpolicy_binding[]) obj.get_resources(service); return response; }
java
public static tmglobal_tmtrafficpolicy_binding[] get(nitro_service service) throws Exception{ tmglobal_tmtrafficpolicy_binding obj = new tmglobal_tmtrafficpolicy_binding(); tmglobal_tmtrafficpolicy_binding response[] = (tmglobal_tmtrafficpolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "tmglobal_tmtrafficpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "tmglobal_tmtrafficpolicy_binding", "obj", "=", "new", "tmglobal_tmtrafficpolicy_binding", "(", ")", ";", "tmglobal_tmtrafficpolicy_bin...
Use this API to fetch a tmglobal_tmtrafficpolicy_binding resources.
[ "Use", "this", "API", "to", "fetch", "a", "tmglobal_tmtrafficpolicy_binding", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmglobal_tmtrafficpolicy_binding.java#L190-L194
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java
vpnvserver.add
public static base_response add(nitro_service client, vpnvserver resource) throws Exception { vpnvserver addresource = new vpnvserver(); addresource.name = resource.name; addresource.servicetype = resource.servicetype; addresource.ipv46 = resource.ipv46; addresource.range = resource.range; addresource.port ...
java
public static base_response add(nitro_service client, vpnvserver resource) throws Exception { vpnvserver addresource = new vpnvserver(); addresource.name = resource.name; addresource.servicetype = resource.servicetype; addresource.ipv46 = resource.ipv46; addresource.range = resource.range; addresource.port ...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "vpnvserver", "resource", ")", "throws", "Exception", "{", "vpnvserver", "addresource", "=", "new", "vpnvserver", "(", ")", ";", "addresource", ".", "name", "=", "resource", ".", ...
Use this API to add vpnvserver.
[ "Use", "this", "API", "to", "add", "vpnvserver", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java#L912-L937
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java
vpnvserver.add
public static base_responses add(nitro_service client, vpnvserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnvserver addresources[] = new vpnvserver[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new vpnvser...
java
public static base_responses add(nitro_service client, vpnvserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnvserver addresources[] = new vpnvserver[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new vpnvser...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "vpnvserver", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", ...
Use this API to add vpnvserver resources.
[ "Use", "this", "API", "to", "add", "vpnvserver", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java#L942-L974
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java
vpnvserver.update
public static base_response update(nitro_service client, vpnvserver resource) throws Exception { vpnvserver updateresource = new vpnvserver(); updateresource.name = resource.name; updateresource.ipv46 = resource.ipv46; updateresource.authentication = resource.authentication; updateresource.doublehop = resourc...
java
public static base_response update(nitro_service client, vpnvserver resource) throws Exception { vpnvserver updateresource = new vpnvserver(); updateresource.name = resource.name; updateresource.ipv46 = resource.ipv46; updateresource.authentication = resource.authentication; updateresource.doublehop = resourc...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "vpnvserver", "resource", ")", "throws", "Exception", "{", "vpnvserver", "updateresource", "=", "new", "vpnvserver", "(", ")", ";", "updateresource", ".", "name", "=", "resource", ...
Use this API to update vpnvserver.
[ "Use", "this", "API", "to", "update", "vpnvserver", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java#L1029-L1050
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java
vpnvserver.update
public static base_responses update(nitro_service client, vpnvserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnvserver updateresources[] = new vpnvserver[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = ne...
java
public static base_responses update(nitro_service client, vpnvserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnvserver updateresources[] = new vpnvserver[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = ne...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "vpnvserver", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", "....
Use this API to update vpnvserver resources.
[ "Use", "this", "API", "to", "update", "vpnvserver", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java#L1055-L1083
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java
vpnvserver.get
public static vpnvserver[] get(nitro_service service) throws Exception{ vpnvserver obj = new vpnvserver(); vpnvserver[] response = (vpnvserver[])obj.get_resources(service); return response; }
java
public static vpnvserver[] get(nitro_service service) throws Exception{ vpnvserver obj = new vpnvserver(); vpnvserver[] response = (vpnvserver[])obj.get_resources(service); return response; }
[ "public", "static", "vpnvserver", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vpnvserver", "obj", "=", "new", "vpnvserver", "(", ")", ";", "vpnvserver", "[", "]", "response", "=", "(", "vpnvserver", "[", "]", ")", ...
Use this API to fetch all the vpnvserver resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "vpnvserver", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java#L1250-L1254
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java
vpnvserver.get
public static vpnvserver get(nitro_service service, String name) throws Exception{ vpnvserver obj = new vpnvserver(); obj.set_name(name); vpnvserver response = (vpnvserver) obj.get_resource(service); return response; }
java
public static vpnvserver get(nitro_service service, String name) throws Exception{ vpnvserver obj = new vpnvserver(); obj.set_name(name); vpnvserver response = (vpnvserver) obj.get_resource(service); return response; }
[ "public", "static", "vpnvserver", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "vpnvserver", "obj", "=", "new", "vpnvserver", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "vpnvserver", "re...
Use this API to fetch vpnvserver resource of given name .
[ "Use", "this", "API", "to", "fetch", "vpnvserver", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver.java#L1266-L1271
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/rewrite/rewritepolicy_rewritepolicylabel_binding.java
rewritepolicy_rewritepolicylabel_binding.get
public static rewritepolicy_rewritepolicylabel_binding[] get(nitro_service service, String name) throws Exception{ rewritepolicy_rewritepolicylabel_binding obj = new rewritepolicy_rewritepolicylabel_binding(); obj.set_name(name); rewritepolicy_rewritepolicylabel_binding response[] = (rewritepolicy_rewritepolicyla...
java
public static rewritepolicy_rewritepolicylabel_binding[] get(nitro_service service, String name) throws Exception{ rewritepolicy_rewritepolicylabel_binding obj = new rewritepolicy_rewritepolicylabel_binding(); obj.set_name(name); rewritepolicy_rewritepolicylabel_binding response[] = (rewritepolicy_rewritepolicyla...
[ "public", "static", "rewritepolicy_rewritepolicylabel_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "rewritepolicy_rewritepolicylabel_binding", "obj", "=", "new", "rewritepolicy_rewritepolicylabel_binding",...
Use this API to fetch rewritepolicy_rewritepolicylabel_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "rewritepolicy_rewritepolicylabel_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/rewrite/rewritepolicy_rewritepolicylabel_binding.java#L162-L167
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/process/PTBLexer.java
PTBLexer.delimit
private static String delimit(String s, char c) { int i = s.indexOf(c); while (i != -1) { if (i == 0 || s.charAt(i - 1) != '\\') { s = s.substring(0, i) + '\\' + s.substring(i); i = s.indexOf(c, i + 2); } else { i = s.indexOf(c, i + 1); } } return s; ...
java
private static String delimit(String s, char c) { int i = s.indexOf(c); while (i != -1) { if (i == 0 || s.charAt(i - 1) != '\\') { s = s.substring(0, i) + '\\' + s.substring(i); i = s.indexOf(c, i + 2); } else { i = s.indexOf(c, i + 1); } } return s; ...
[ "private", "static", "String", "delimit", "(", "String", "s", ",", "char", "c", ")", "{", "int", "i", "=", "s", ".", "indexOf", "(", "c", ")", ";", "while", "(", "i", "!=", "-", "1", ")", "{", "if", "(", "i", "==", "0", "||", "s", ".", "cha...
This quotes a character with a backslash, but doesn't do it if the character is already preceded by a backslash.
[ "This", "quotes", "a", "character", "with", "a", "backslash", "but", "doesn", "t", "do", "it", "if", "the", "character", "is", "already", "preceded", "by", "a", "backslash", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/process/PTBLexer.java#L10592-L10603
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/process/PTBLexer.java
PTBLexer.getNext
private Object getNext(String txt, String originalText) { if (invertible) { String str = prevWordAfter.toString(); prevWordAfter.setLength(0); CoreLabel word = (CoreLabel) tokenFactory.makeToken(txt, yychar, yylength()); word.set(OriginalTextAnnotation.class, originalText); word....
java
private Object getNext(String txt, String originalText) { if (invertible) { String str = prevWordAfter.toString(); prevWordAfter.setLength(0); CoreLabel word = (CoreLabel) tokenFactory.makeToken(txt, yychar, yylength()); word.set(OriginalTextAnnotation.class, originalText); word....
[ "private", "Object", "getNext", "(", "String", "txt", ",", "String", "originalText", ")", "{", "if", "(", "invertible", ")", "{", "String", "str", "=", "prevWordAfter", ".", "toString", "(", ")", ";", "prevWordAfter", ".", "setLength", "(", "0", ")", ";"...
Make the next token. @param txt What the token should be @param originalText The original String that got transformed into txt
[ "Make", "the", "next", "token", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/process/PTBLexer.java#L10618-L10631
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy_binding.java
vpntrafficpolicy_binding.get
public static vpntrafficpolicy_binding get(nitro_service service, String name) throws Exception{ vpntrafficpolicy_binding obj = new vpntrafficpolicy_binding(); obj.set_name(name); vpntrafficpolicy_binding response = (vpntrafficpolicy_binding) obj.get_resource(service); return response; }
java
public static vpntrafficpolicy_binding get(nitro_service service, String name) throws Exception{ vpntrafficpolicy_binding obj = new vpntrafficpolicy_binding(); obj.set_name(name); vpntrafficpolicy_binding response = (vpntrafficpolicy_binding) obj.get_resource(service); return response; }
[ "public", "static", "vpntrafficpolicy_binding", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "vpntrafficpolicy_binding", "obj", "=", "new", "vpntrafficpolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "...
Use this API to fetch vpntrafficpolicy_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "vpntrafficpolicy_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy_binding.java#L136-L141
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_vpnclientlessaccesspolicy_binding.java
vpnvserver_vpnclientlessaccesspolicy_binding.get
public static vpnvserver_vpnclientlessaccesspolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_vpnclientlessaccesspolicy_binding obj = new vpnvserver_vpnclientlessaccesspolicy_binding(); obj.set_name(name); vpnvserver_vpnclientlessaccesspolicy_binding response[] = (vpnvserver_vp...
java
public static vpnvserver_vpnclientlessaccesspolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_vpnclientlessaccesspolicy_binding obj = new vpnvserver_vpnclientlessaccesspolicy_binding(); obj.set_name(name); vpnvserver_vpnclientlessaccesspolicy_binding response[] = (vpnvserver_vp...
[ "public", "static", "vpnvserver_vpnclientlessaccesspolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "vpnvserver_vpnclientlessaccesspolicy_binding", "obj", "=", "new", "vpnvserver_vpnclientlessaccesspoli...
Use this API to fetch vpnvserver_vpnclientlessaccesspolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "vpnvserver_vpnclientlessaccesspolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_vpnclientlessaccesspolicy_binding.java#L302-L307
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationsamlpolicy_binding.java
authenticationsamlpolicy_binding.get
public static authenticationsamlpolicy_binding get(nitro_service service, String name) throws Exception{ authenticationsamlpolicy_binding obj = new authenticationsamlpolicy_binding(); obj.set_name(name); authenticationsamlpolicy_binding response = (authenticationsamlpolicy_binding) obj.get_resource(service); re...
java
public static authenticationsamlpolicy_binding get(nitro_service service, String name) throws Exception{ authenticationsamlpolicy_binding obj = new authenticationsamlpolicy_binding(); obj.set_name(name); authenticationsamlpolicy_binding response = (authenticationsamlpolicy_binding) obj.get_resource(service); re...
[ "public", "static", "authenticationsamlpolicy_binding", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "authenticationsamlpolicy_binding", "obj", "=", "new", "authenticationsamlpolicy_binding", "(", ")", ";", "obj", ".", ...
Use this API to fetch authenticationsamlpolicy_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "authenticationsamlpolicy_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationsamlpolicy_binding.java#L103-L108
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java
autoscalepolicy.unset
public static base_response unset(nitro_service client, autoscalepolicy resource, String[] args) throws Exception{ autoscalepolicy unsetresource = new autoscalepolicy(); unsetresource.name = resource.name; unsetresource.rule = resource.rule; unsetresource.action = resource.action; unsetresource.comment = reso...
java
public static base_response unset(nitro_service client, autoscalepolicy resource, String[] args) throws Exception{ autoscalepolicy unsetresource = new autoscalepolicy(); unsetresource.name = resource.name; unsetresource.rule = resource.rule; unsetresource.action = resource.action; unsetresource.comment = reso...
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "autoscalepolicy", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "autoscalepolicy", "unsetresource", "=", "new", "autoscalepolicy", "(", ")", ";", ...
Use this API to unset the properties of autoscalepolicy resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "autoscalepolicy", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java#L358-L366
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java
autoscalepolicy.unset
public static base_responses unset(nitro_service client, autoscalepolicy resources[], String[] args) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscalepolicy unsetresources[] = new autoscalepolicy[resources.length]; for (int i=0;i<resources.length;i++)...
java
public static base_responses unset(nitro_service client, autoscalepolicy resources[], String[] args) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscalepolicy unsetresources[] = new autoscalepolicy[resources.length]; for (int i=0;i<resources.length;i++)...
[ "public", "static", "base_responses", "unset", "(", "nitro_service", "client", ",", "autoscalepolicy", "resources", "[", "]", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources"...
Use this API to unset the properties of autoscalepolicy resources. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "autoscalepolicy", "resources", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java#L389-L404
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java
autoscalepolicy.get
public static autoscalepolicy[] get(nitro_service service) throws Exception{ autoscalepolicy obj = new autoscalepolicy(); autoscalepolicy[] response = (autoscalepolicy[])obj.get_resources(service); return response; }
java
public static autoscalepolicy[] get(nitro_service service) throws Exception{ autoscalepolicy obj = new autoscalepolicy(); autoscalepolicy[] response = (autoscalepolicy[])obj.get_resources(service); return response; }
[ "public", "static", "autoscalepolicy", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "autoscalepolicy", "obj", "=", "new", "autoscalepolicy", "(", ")", ";", "autoscalepolicy", "[", "]", "response", "=", "(", "autoscalepolicy"...
Use this API to fetch all the autoscalepolicy resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "autoscalepolicy", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java#L427-L431
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java
autoscalepolicy.get
public static autoscalepolicy get(nitro_service service, String name) throws Exception{ autoscalepolicy obj = new autoscalepolicy(); obj.set_name(name); autoscalepolicy response = (autoscalepolicy) obj.get_resource(service); return response; }
java
public static autoscalepolicy get(nitro_service service, String name) throws Exception{ autoscalepolicy obj = new autoscalepolicy(); obj.set_name(name); autoscalepolicy response = (autoscalepolicy) obj.get_resource(service); return response; }
[ "public", "static", "autoscalepolicy", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "autoscalepolicy", "obj", "=", "new", "autoscalepolicy", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "aut...
Use this API to fetch autoscalepolicy resource of given name .
[ "Use", "this", "API", "to", "fetch", "autoscalepolicy", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscalepolicy.java#L443-L448
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_vpnintranetapplication_binding.java
aaauser_vpnintranetapplication_binding.get
public static aaauser_vpnintranetapplication_binding[] get(nitro_service service, String username) throws Exception{ aaauser_vpnintranetapplication_binding obj = new aaauser_vpnintranetapplication_binding(); obj.set_username(username); aaauser_vpnintranetapplication_binding response[] = (aaauser_vpnintranetapplic...
java
public static aaauser_vpnintranetapplication_binding[] get(nitro_service service, String username) throws Exception{ aaauser_vpnintranetapplication_binding obj = new aaauser_vpnintranetapplication_binding(); obj.set_username(username); aaauser_vpnintranetapplication_binding response[] = (aaauser_vpnintranetapplic...
[ "public", "static", "aaauser_vpnintranetapplication_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "username", ")", "throws", "Exception", "{", "aaauser_vpnintranetapplication_binding", "obj", "=", "new", "aaauser_vpnintranetapplication_binding", ...
Use this API to fetch aaauser_vpnintranetapplication_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "aaauser_vpnintranetapplication_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_vpnintranetapplication_binding.java#L240-L245
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_vpnintranetapplication_binding.java
aaauser_vpnintranetapplication_binding.count
public static long count(nitro_service service, String username) throws Exception{ aaauser_vpnintranetapplication_binding obj = new aaauser_vpnintranetapplication_binding(); obj.set_username(username); options option = new options(); option.set_count(true); aaauser_vpnintranetapplication_binding response[] = ...
java
public static long count(nitro_service service, String username) throws Exception{ aaauser_vpnintranetapplication_binding obj = new aaauser_vpnintranetapplication_binding(); obj.set_username(username); options option = new options(); option.set_count(true); aaauser_vpnintranetapplication_binding response[] = ...
[ "public", "static", "long", "count", "(", "nitro_service", "service", ",", "String", "username", ")", "throws", "Exception", "{", "aaauser_vpnintranetapplication_binding", "obj", "=", "new", "aaauser_vpnintranetapplication_binding", "(", ")", ";", "obj", ".", "set_use...
Use this API to count aaauser_vpnintranetapplication_binding resources configued on NetScaler.
[ "Use", "this", "API", "to", "count", "aaauser_vpnintranetapplication_binding", "resources", "configued", "on", "NetScaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_vpnintranetapplication_binding.java#L276-L286
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel.java
responderpolicylabel.add
public static base_responses add(nitro_service client, responderpolicylabel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { responderpolicylabel addresources[] = new responderpolicylabel[resources.length]; for (int i=0;i<resources.length;i++){ ...
java
public static base_responses add(nitro_service client, responderpolicylabel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { responderpolicylabel addresources[] = new responderpolicylabel[resources.length]; for (int i=0;i<resources.length;i++){ ...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "responderpolicylabel", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources...
Use this API to add responderpolicylabel resources.
[ "Use", "this", "API", "to", "add", "responderpolicylabel", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel.java#L223-L235
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel.java
responderpolicylabel.get
public static responderpolicylabel[] get(nitro_service service, options option) throws Exception{ responderpolicylabel obj = new responderpolicylabel(); responderpolicylabel[] response = (responderpolicylabel[])obj.get_resources(service,option); return response; }
java
public static responderpolicylabel[] get(nitro_service service, options option) throws Exception{ responderpolicylabel obj = new responderpolicylabel(); responderpolicylabel[] response = (responderpolicylabel[])obj.get_resources(service,option); return response; }
[ "public", "static", "responderpolicylabel", "[", "]", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "responderpolicylabel", "obj", "=", "new", "responderpolicylabel", "(", ")", ";", "responderpolicylabel", "[", ...
Use this API to fetch all the responderpolicylabel resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "responderpolicylabel", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel.java#L316-L320
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel.java
responderpolicylabel.get
public static responderpolicylabel get(nitro_service service, String labelname) throws Exception{ responderpolicylabel obj = new responderpolicylabel(); obj.set_labelname(labelname); responderpolicylabel response = (responderpolicylabel) obj.get_resource(service); return response; }
java
public static responderpolicylabel get(nitro_service service, String labelname) throws Exception{ responderpolicylabel obj = new responderpolicylabel(); obj.set_labelname(labelname); responderpolicylabel response = (responderpolicylabel) obj.get_resource(service); return response; }
[ "public", "static", "responderpolicylabel", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "responderpolicylabel", "obj", "=", "new", "responderpolicylabel", "(", ")", ";", "obj", ".", "set_labelname", "(", "la...
Use this API to fetch responderpolicylabel resource of given name .
[ "Use", "this", "API", "to", "fetch", "responderpolicylabel", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel.java#L324-L329
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/channel_interface_binding.java
channel_interface_binding.get
public static channel_interface_binding[] get(nitro_service service, String id) throws Exception{ channel_interface_binding obj = new channel_interface_binding(); obj.set_id(id); channel_interface_binding response[] = (channel_interface_binding[]) obj.get_resources(service); return response; }
java
public static channel_interface_binding[] get(nitro_service service, String id) throws Exception{ channel_interface_binding obj = new channel_interface_binding(); obj.set_id(id); channel_interface_binding response[] = (channel_interface_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "channel_interface_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "id", ")", "throws", "Exception", "{", "channel_interface_binding", "obj", "=", "new", "channel_interface_binding", "(", ")", ";", "obj", ".", "set_id...
Use this API to fetch channel_interface_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "channel_interface_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/channel_interface_binding.java#L242-L247
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.getDep
private static void getDep(TreeGraphNode t, List<TypedDependency> basicDep, Filter<TypedDependency> f) { if (t.isPhrasal()) { // don't do leaves of POS tags (chris changed this from numChildren > 0 in 2010) Map<Class<? extends CoreAnnotation>, Set<TreeGraphNode>> depMa...
java
private static void getDep(TreeGraphNode t, List<TypedDependency> basicDep, Filter<TypedDependency> f) { if (t.isPhrasal()) { // don't do leaves of POS tags (chris changed this from numChildren > 0 in 2010) Map<Class<? extends CoreAnnotation>, Set<TreeGraphNode>> depMa...
[ "private", "static", "void", "getDep", "(", "TreeGraphNode", "t", ",", "List", "<", "TypedDependency", ">", "basicDep", ",", "Filter", "<", "TypedDependency", ">", "f", ")", "{", "if", "(", "t", ".", "isPhrasal", "(", ")", ")", "{", "// don't do leaves of ...
Look through the tree t and adds to the List basicDep dependencies which aren't in it but which satisfy the filter f. @param t The tree to examine (not changed) @param basicDep The list of dependencies which may be augmented @param f Additional dependencies are added only if they pass this filter
[ "Look", "through", "the", "tree", "t", "and", "adds", "to", "the", "List", "basicDep", "dependencies", "which", "aren", "t", "in", "it", "but", "which", "satisfy", "the", "filter", "f", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L336-L363
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.getListGrammaticalRelation
public static List<GrammaticalRelation> getListGrammaticalRelation(TreeGraphNode gov, TreeGraphNode dep) { List<GrammaticalRelation> list = new ArrayList<GrammaticalRelation>(); TreeGraphNode govH = gov.highestNodeWithSameHead(); TreeGraphNode depH = dep.highestNodeWithSameHead(); /*System.out.pri...
java
public static List<GrammaticalRelation> getListGrammaticalRelation(TreeGraphNode gov, TreeGraphNode dep) { List<GrammaticalRelation> list = new ArrayList<GrammaticalRelation>(); TreeGraphNode govH = gov.highestNodeWithSameHead(); TreeGraphNode depH = dep.highestNodeWithSameHead(); /*System.out.pri...
[ "public", "static", "List", "<", "GrammaticalRelation", ">", "getListGrammaticalRelation", "(", "TreeGraphNode", "gov", ",", "TreeGraphNode", "dep", ")", "{", "List", "<", "GrammaticalRelation", ">", "list", "=", "new", "ArrayList", "<", "GrammaticalRelation", ">", ...
Get a list of GrammaticalRelation between gov and dep. Useful for getting extra dependencies, in which two nodes can be linked by multiple arcs.
[ "Get", "a", "list", "of", "GrammaticalRelation", "between", "gov", "and", "dep", ".", "Useful", "for", "getting", "extra", "dependencies", "in", "which", "two", "nodes", "can", "be", "linked", "by", "multiple", "arcs", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L530-L573
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.getDependencyPath
public List<String> getDependencyPath(int nodeIndex, int rootIndex) { TreeGraphNode node = getNodeByIndex(nodeIndex); TreeGraphNode rootTree = getNodeByIndex(rootIndex); return getDependencyPath(node, rootTree); }
java
public List<String> getDependencyPath(int nodeIndex, int rootIndex) { TreeGraphNode node = getNodeByIndex(nodeIndex); TreeGraphNode rootTree = getNodeByIndex(rootIndex); return getDependencyPath(node, rootTree); }
[ "public", "List", "<", "String", ">", "getDependencyPath", "(", "int", "nodeIndex", ",", "int", "rootIndex", ")", "{", "TreeGraphNode", "node", "=", "getNodeByIndex", "(", "nodeIndex", ")", ";", "TreeGraphNode", "rootTree", "=", "getNodeByIndex", "(", "rootIndex...
Returns the dependency path as a list of String, from node to root, it is assumed that that root is an ancestor of node @return A list of dependency labels
[ "Returns", "the", "dependency", "path", "as", "a", "list", "of", "String", "from", "node", "to", "root", "it", "is", "assumed", "that", "that", "root", "is", "an", "ancestor", "of", "node" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L736-L740
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.getDependencyPath
private static List<String> getDependencyPath(TreeGraphNode node, TreeGraphNode root) { List<String> path = new ArrayList<String>(); while (!node.equals(root)) { TreeGraphNode gov = getGovernor(node); // System.out.println("Governor for \"" + node.value() + "\": \"" + gov.value() + "\""); ...
java
private static List<String> getDependencyPath(TreeGraphNode node, TreeGraphNode root) { List<String> path = new ArrayList<String>(); while (!node.equals(root)) { TreeGraphNode gov = getGovernor(node); // System.out.println("Governor for \"" + node.value() + "\": \"" + gov.value() + "\""); ...
[ "private", "static", "List", "<", "String", ">", "getDependencyPath", "(", "TreeGraphNode", "node", ",", "TreeGraphNode", "root", ")", "{", "List", "<", "String", ">", "path", "=", "new", "ArrayList", "<", "String", ">", "(", ")", ";", "while", "(", "!",...
used only by unused method above.
[ "used", "only", "by", "unused", "method", "above", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L751-L766
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.getAllDependents
private static Map<Class<? extends CoreAnnotation>, Set<TreeGraphNode>> getAllDependents(TreeGraphNode node) { Map<Class<? extends CoreAnnotation>, Set<TreeGraphNode>> newMap = Generics.newHashMap(); for (Class<?> o : node.label.keySet()) { try { // The line below will exception unless it's ...
java
private static Map<Class<? extends CoreAnnotation>, Set<TreeGraphNode>> getAllDependents(TreeGraphNode node) { Map<Class<? extends CoreAnnotation>, Set<TreeGraphNode>> newMap = Generics.newHashMap(); for (Class<?> o : node.label.keySet()) { try { // The line below will exception unless it's ...
[ "private", "static", "Map", "<", "Class", "<", "?", "extends", "CoreAnnotation", ">", ",", "Set", "<", "TreeGraphNode", ">", ">", "getAllDependents", "(", "TreeGraphNode", "node", ")", "{", "Map", "<", "Class", "<", "?", "extends", "CoreAnnotation", ">", "...
Returns all the dependencies of a certain node. @param node The node to return dependents for @return map of dependencies
[ "Returns", "all", "the", "dependencies", "of", "a", "certain", "node", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L774-L788
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.getRoots
public static Collection<TypedDependency> getRoots(Collection<TypedDependency> list) { Collection<TypedDependency> roots = new ArrayList<TypedDependency>(); // need to see if more than one governor is not listed somewhere as a dependent // first take all the deps Collection<TreeGraphNode> deps =...
java
public static Collection<TypedDependency> getRoots(Collection<TypedDependency> list) { Collection<TypedDependency> roots = new ArrayList<TypedDependency>(); // need to see if more than one governor is not listed somewhere as a dependent // first take all the deps Collection<TreeGraphNode> deps =...
[ "public", "static", "Collection", "<", "TypedDependency", ">", "getRoots", "(", "Collection", "<", "TypedDependency", ">", "list", ")", "{", "Collection", "<", "TypedDependency", ">", "roots", "=", "new", "ArrayList", "<", "TypedDependency", ">", "(", ")", ";"...
Return a list of TypedDependencies which are not dependent on any node from the list. @param list The list of TypedDependencies to check @return A list of TypedDependencies which are not dependent on any node from the list
[ "Return", "a", "list", "of", "TypedDependencies", "which", "are", "not", "dependent", "on", "any", "node", "from", "the", "list", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L809-L830
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.printDependencies
public static void printDependencies(GrammaticalStructure gs, Collection<TypedDependency> deps, Tree tree, boolean conllx, boolean extraSep) { System.out.println(dependenciesToString(gs, deps, tree, conllx, extraSep)); }
java
public static void printDependencies(GrammaticalStructure gs, Collection<TypedDependency> deps, Tree tree, boolean conllx, boolean extraSep) { System.out.println(dependenciesToString(gs, deps, tree, conllx, extraSep)); }
[ "public", "static", "void", "printDependencies", "(", "GrammaticalStructure", "gs", ",", "Collection", "<", "TypedDependency", ">", "deps", ",", "Tree", "tree", ",", "boolean", "conllx", ",", "boolean", "extraSep", ")", "{", "System", ".", "out", ".", "println...
Print typed dependencies in either the Stanford dependency representation or in the conllx format. @param deps Typed dependencies to print @param tree Tree corresponding to typed dependencies (only necessary if conllx == true) @param conllx If true use conllx format, otherwise use Stanford representation @param extraS...
[ "Print", "typed", "dependencies", "in", "either", "the", "Stanford", "dependency", "representation", "or", "in", "the", "conllx", "format", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L861-L863
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java
GrammaticalStructure.readCoNLLXGrammaticStructureCollection
public static List<GrammaticalStructure> readCoNLLXGrammaticStructureCollection(String fileName, Map<String, GrammaticalRelation> shortNameToGRel, GrammaticalStructureFromDependenciesFactory factory) throws IOException { LineNumberReader reader = new LineNumberReader(new FileReader(fileName)); List<Grammatica...
java
public static List<GrammaticalStructure> readCoNLLXGrammaticStructureCollection(String fileName, Map<String, GrammaticalRelation> shortNameToGRel, GrammaticalStructureFromDependenciesFactory factory) throws IOException { LineNumberReader reader = new LineNumberReader(new FileReader(fileName)); List<Grammatica...
[ "public", "static", "List", "<", "GrammaticalStructure", ">", "readCoNLLXGrammaticStructureCollection", "(", "String", "fileName", ",", "Map", "<", "String", ",", "GrammaticalRelation", ">", "shortNameToGRel", ",", "GrammaticalStructureFromDependenciesFactory", "factory", "...
Read in a file containing a CoNLL-X dependency treebank and return a corresponding list of GrammaticalStructures. @throws IOException
[ "Read", "in", "a", "file", "containing", "a", "CoNLL", "-", "X", "dependency", "treebank", "and", "return", "a", "corresponding", "list", "of", "GrammaticalStructures", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/GrammaticalStructure.java#L952-L977
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_vpnglobal_binding.java
auditnslogpolicy_vpnglobal_binding.get
public static auditnslogpolicy_vpnglobal_binding[] get(nitro_service service, String name) throws Exception{ auditnslogpolicy_vpnglobal_binding obj = new auditnslogpolicy_vpnglobal_binding(); obj.set_name(name); auditnslogpolicy_vpnglobal_binding response[] = (auditnslogpolicy_vpnglobal_binding[]) obj.get_resourc...
java
public static auditnslogpolicy_vpnglobal_binding[] get(nitro_service service, String name) throws Exception{ auditnslogpolicy_vpnglobal_binding obj = new auditnslogpolicy_vpnglobal_binding(); obj.set_name(name); auditnslogpolicy_vpnglobal_binding response[] = (auditnslogpolicy_vpnglobal_binding[]) obj.get_resourc...
[ "public", "static", "auditnslogpolicy_vpnglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "auditnslogpolicy_vpnglobal_binding", "obj", "=", "new", "auditnslogpolicy_vpnglobal_binding", "(", ")", "...
Use this API to fetch auditnslogpolicy_vpnglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "auditnslogpolicy_vpnglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_vpnglobal_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/protocol/protocolicmp_stats.java
protocolicmp_stats.get
public static protocolicmp_stats get(nitro_service service) throws Exception{ protocolicmp_stats obj = new protocolicmp_stats(); protocolicmp_stats[] response = (protocolicmp_stats[])obj.stat_resources(service); return response[0]; }
java
public static protocolicmp_stats get(nitro_service service) throws Exception{ protocolicmp_stats obj = new protocolicmp_stats(); protocolicmp_stats[] response = (protocolicmp_stats[])obj.stat_resources(service); return response[0]; }
[ "public", "static", "protocolicmp_stats", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "protocolicmp_stats", "obj", "=", "new", "protocolicmp_stats", "(", ")", ";", "protocolicmp_stats", "[", "]", "response", "=", "(", "protocolicmp_stats...
Use this API to fetch the statistics of all protocolicmp_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "protocolicmp_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/protocol/protocolicmp_stats.java#L426-L430
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java
ip6tunnel.add
public static base_response add(nitro_service client, ip6tunnel resource) throws Exception { ip6tunnel addresource = new ip6tunnel(); addresource.name = resource.name; addresource.remote = resource.remote; addresource.local = resource.local; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, ip6tunnel resource) throws Exception { ip6tunnel addresource = new ip6tunnel(); addresource.name = resource.name; addresource.remote = resource.remote; addresource.local = resource.local; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "ip6tunnel", "resource", ")", "throws", "Exception", "{", "ip6tunnel", "addresource", "=", "new", "ip6tunnel", "(", ")", ";", "addresource", ".", "name", "=", "resource", ".", "na...
Use this API to add ip6tunnel.
[ "Use", "this", "API", "to", "add", "ip6tunnel", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java#L164-L170
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java
ip6tunnel.add
public static base_responses add(nitro_service client, ip6tunnel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { ip6tunnel addresources[] = new ip6tunnel[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new ip6tunnel(...
java
public static base_responses add(nitro_service client, ip6tunnel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { ip6tunnel addresources[] = new ip6tunnel[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new ip6tunnel(...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "ip6tunnel", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", ...
Use this API to add ip6tunnel resources.
[ "Use", "this", "API", "to", "add", "ip6tunnel", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java#L175-L188
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java
ip6tunnel.get
public static ip6tunnel[] get(nitro_service service) throws Exception{ ip6tunnel obj = new ip6tunnel(); ip6tunnel[] response = (ip6tunnel[])obj.get_resources(service); return response; }
java
public static ip6tunnel[] get(nitro_service service) throws Exception{ ip6tunnel obj = new ip6tunnel(); ip6tunnel[] response = (ip6tunnel[])obj.get_resources(service); return response; }
[ "public", "static", "ip6tunnel", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "ip6tunnel", "obj", "=", "new", "ip6tunnel", "(", ")", ";", "ip6tunnel", "[", "]", "response", "=", "(", "ip6tunnel", "[", "]", ")", "obj"...
Use this API to fetch all the ip6tunnel resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "ip6tunnel", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java#L243-L247
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java
ip6tunnel.get
public static ip6tunnel[] get(nitro_service service, ip6tunnel_args args) throws Exception{ ip6tunnel obj = new ip6tunnel(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); ip6tunnel[] response = (ip6tunnel[])obj.get_resources(service, option); return response...
java
public static ip6tunnel[] get(nitro_service service, ip6tunnel_args args) throws Exception{ ip6tunnel obj = new ip6tunnel(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); ip6tunnel[] response = (ip6tunnel[])obj.get_resources(service, option); return response...
[ "public", "static", "ip6tunnel", "[", "]", "get", "(", "nitro_service", "service", ",", "ip6tunnel_args", "args", ")", "throws", "Exception", "{", "ip6tunnel", "obj", "=", "new", "ip6tunnel", "(", ")", ";", "options", "option", "=", "new", "options", "(", ...
Use this API to fetch all the ip6tunnel resources that are configured on netscaler. This uses ip6tunnel_args which is a way to provide additional arguments while fetching the resources.
[ "Use", "this", "API", "to", "fetch", "all", "the", "ip6tunnel", "resources", "that", "are", "configured", "on", "netscaler", ".", "This", "uses", "ip6tunnel_args", "which", "is", "a", "way", "to", "provide", "additional", "arguments", "while", "fetching", "the...
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java#L260-L266
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java
ip6tunnel.get
public static ip6tunnel get(nitro_service service, String name) throws Exception{ ip6tunnel obj = new ip6tunnel(); obj.set_name(name); ip6tunnel response = (ip6tunnel) obj.get_resource(service); return response; }
java
public static ip6tunnel get(nitro_service service, String name) throws Exception{ ip6tunnel obj = new ip6tunnel(); obj.set_name(name); ip6tunnel response = (ip6tunnel) obj.get_resource(service); return response; }
[ "public", "static", "ip6tunnel", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "ip6tunnel", "obj", "=", "new", "ip6tunnel", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "ip6tunnel", "respon...
Use this API to fetch ip6tunnel resource of given name .
[ "Use", "this", "API", "to", "fetch", "ip6tunnel", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.java#L271-L276
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java
transformaction.add
public static base_response add(nitro_service client, transformaction resource) throws Exception { transformaction addresource = new transformaction(); addresource.name = resource.name; addresource.profilename = resource.profilename; addresource.priority = resource.priority; addresource.state = resource.state...
java
public static base_response add(nitro_service client, transformaction resource) throws Exception { transformaction addresource = new transformaction(); addresource.name = resource.name; addresource.profilename = resource.profilename; addresource.priority = resource.priority; addresource.state = resource.state...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "transformaction", "resource", ")", "throws", "Exception", "{", "transformaction", "addresource", "=", "new", "transformaction", "(", ")", ";", "addresource", ".", "name", "=", "resou...
Use this API to add transformaction.
[ "Use", "this", "API", "to", "add", "transformaction", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java#L315-L322
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java
transformaction.add
public static base_responses add(nitro_service client, transformaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { transformaction addresources[] = new transformaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
java
public static base_responses add(nitro_service client, transformaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { transformaction addresources[] = new transformaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "transformaction", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ...
Use this API to add transformaction resources.
[ "Use", "this", "API", "to", "add", "transformaction", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java#L327-L341
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java
transformaction.update
public static base_response update(nitro_service client, transformaction resource) throws Exception { transformaction updateresource = new transformaction(); updateresource.name = resource.name; updateresource.priority = resource.priority; updateresource.requrlfrom = resource.requrlfrom; updateresource.requrl...
java
public static base_response update(nitro_service client, transformaction resource) throws Exception { transformaction updateresource = new transformaction(); updateresource.name = resource.name; updateresource.priority = resource.priority; updateresource.requrlfrom = resource.requrlfrom; updateresource.requrl...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "transformaction", "resource", ")", "throws", "Exception", "{", "transformaction", "updateresource", "=", "new", "transformaction", "(", ")", ";", "updateresource", ".", "name", "=",...
Use this API to update transformaction.
[ "Use", "this", "API", "to", "update", "transformaction", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java#L396-L409
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java
transformaction.update
public static base_responses update(nitro_service client, transformaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { transformaction updateresources[] = new transformaction[resources.length]; for (int i=0;i<resources.length;i++){ updatere...
java
public static base_responses update(nitro_service client, transformaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { transformaction updateresources[] = new transformaction[resources.length]; for (int i=0;i<resources.length;i++){ updatere...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "transformaction", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources",...
Use this API to update transformaction resources.
[ "Use", "this", "API", "to", "update", "transformaction", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java#L414-L434
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java
transformaction.get
public static transformaction[] get(nitro_service service) throws Exception{ transformaction obj = new transformaction(); transformaction[] response = (transformaction[])obj.get_resources(service); return response; }
java
public static transformaction[] get(nitro_service service) throws Exception{ transformaction obj = new transformaction(); transformaction[] response = (transformaction[])obj.get_resources(service); return response; }
[ "public", "static", "transformaction", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "transformaction", "obj", "=", "new", "transformaction", "(", ")", ";", "transformaction", "[", "]", "response", "=", "(", "transformaction"...
Use this API to fetch all the transformaction resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "transformaction", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java#L483-L487
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java
transformaction.get
public static transformaction get(nitro_service service, String name) throws Exception{ transformaction obj = new transformaction(); obj.set_name(name); transformaction response = (transformaction) obj.get_resource(service); return response; }
java
public static transformaction get(nitro_service service, String name) throws Exception{ transformaction obj = new transformaction(); obj.set_name(name); transformaction response = (transformaction) obj.get_resource(service); return response; }
[ "public", "static", "transformaction", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "transformaction", "obj", "=", "new", "transformaction", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "tra...
Use this API to fetch transformaction resource of given name .
[ "Use", "this", "API", "to", "fetch", "transformaction", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformaction.java#L499-L504
train
meertensinstituut/mtas
src/main/java/mtas/codec/payload/MtasBitInputStream.java
MtasBitInputStream.readBit
public int readBit() throws IOException { if (bitCount == 0) { bitBuffer = read(); if (bitBuffer == -1) { throw new IOException("no more bits"); } } int value = (bitBuffer >> bitCount) & 1; bitCount++; if (bitCount > 7) { bitCount = 0; } return value; }
java
public int readBit() throws IOException { if (bitCount == 0) { bitBuffer = read(); if (bitBuffer == -1) { throw new IOException("no more bits"); } } int value = (bitBuffer >> bitCount) & 1; bitCount++; if (bitCount > 7) { bitCount = 0; } return value; }
[ "public", "int", "readBit", "(", ")", "throws", "IOException", "{", "if", "(", "bitCount", "==", "0", ")", "{", "bitBuffer", "=", "read", "(", ")", ";", "if", "(", "bitBuffer", "==", "-", "1", ")", "{", "throw", "new", "IOException", "(", "\"no more ...
Read bit. @return the int @throws IOException Signals that an I/O exception has occurred.
[ "Read", "bit", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/payload/MtasBitInputStream.java#L32-L45
train
meertensinstituut/mtas
src/main/java/mtas/codec/payload/MtasBitInputStream.java
MtasBitInputStream.readRemainingBytes
public byte[] readRemainingBytes() throws IOException { if (this.available() > 0) { byte[] b = new byte[this.available()]; if (read(b) >= 0) { return b; } else { throw new IOException("returned negative number of remaining bytes"); } } else { throw new IOException("...
java
public byte[] readRemainingBytes() throws IOException { if (this.available() > 0) { byte[] b = new byte[this.available()]; if (read(b) >= 0) { return b; } else { throw new IOException("returned negative number of remaining bytes"); } } else { throw new IOException("...
[ "public", "byte", "[", "]", "readRemainingBytes", "(", ")", "throws", "IOException", "{", "if", "(", "this", ".", "available", "(", ")", ">", "0", ")", "{", "byte", "[", "]", "b", "=", "new", "byte", "[", "this", ".", "available", "(", ")", "]", ...
Read remaining bytes. @return the byte[] @throws IOException Signals that an I/O exception has occurred.
[ "Read", "remaining", "bytes", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/payload/MtasBitInputStream.java#L53-L64
train
meertensinstituut/mtas
src/main/java/mtas/codec/payload/MtasBitInputStream.java
MtasBitInputStream.readEliasGammaCodingPositiveInteger
public int readEliasGammaCodingPositiveInteger() throws IOException { int value; int counter = 0; int bit = readBit(); while (bit == 0) { counter++; bit = readBit(); } value = 1; for (int i = 0; i < counter; i++) { value = (2 * value) + readBit(); } return value; ...
java
public int readEliasGammaCodingPositiveInteger() throws IOException { int value; int counter = 0; int bit = readBit(); while (bit == 0) { counter++; bit = readBit(); } value = 1; for (int i = 0; i < counter; i++) { value = (2 * value) + readBit(); } return value; ...
[ "public", "int", "readEliasGammaCodingPositiveInteger", "(", ")", "throws", "IOException", "{", "int", "value", ";", "int", "counter", "=", "0", ";", "int", "bit", "=", "readBit", "(", ")", ";", "while", "(", "bit", "==", "0", ")", "{", "counter", "++", ...
Read elias gamma coding positive integer. @return the int @throws IOException Signals that an I/O exception has occurred.
[ "Read", "elias", "gamma", "coding", "positive", "integer", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/payload/MtasBitInputStream.java#L98-L111
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.add
public static base_response add(nitro_service client, vrid resource) throws Exception { vrid addresource = new vrid(); addresource.id = resource.id; addresource.priority = resource.priority; addresource.preemption = resource.preemption; addresource.sharing = resource.sharing; addresource.tracking = resource...
java
public static base_response add(nitro_service client, vrid resource) throws Exception { vrid addresource = new vrid(); addresource.id = resource.id; addresource.priority = resource.priority; addresource.preemption = resource.preemption; addresource.sharing = resource.sharing; addresource.tracking = resource...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "vrid", "resource", ")", "throws", "Exception", "{", "vrid", "addresource", "=", "new", "vrid", "(", ")", ";", "addresource", ".", "id", "=", "resource", ".", "id", ";", "addr...
Use this API to add vrid.
[ "Use", "this", "API", "to", "add", "vrid", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L295-L303
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.add
public static base_responses add(nitro_service client, vrid resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vrid addresources[] = new vrid[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new vrid(); addresources[...
java
public static base_responses add(nitro_service client, vrid resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vrid addresources[] = new vrid[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new vrid(); addresources[...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "vrid", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "len...
Use this API to add vrid resources.
[ "Use", "this", "API", "to", "add", "vrid", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L308-L323
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.delete
public static base_response delete(nitro_service client, vrid resource) throws Exception { vrid deleteresource = new vrid(); deleteresource.id = resource.id; deleteresource.all = resource.all; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, vrid resource) throws Exception { vrid deleteresource = new vrid(); deleteresource.id = resource.id; deleteresource.all = resource.all; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "vrid", "resource", ")", "throws", "Exception", "{", "vrid", "deleteresource", "=", "new", "vrid", "(", ")", ";", "deleteresource", ".", "id", "=", "resource", ".", "id", ";"...
Use this API to delete vrid.
[ "Use", "this", "API", "to", "delete", "vrid", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L337-L342
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.update
public static base_response update(nitro_service client, vrid resource) throws Exception { vrid updateresource = new vrid(); updateresource.id = resource.id; updateresource.priority = resource.priority; updateresource.preemption = resource.preemption; updateresource.sharing = resource.sharing; updateresourc...
java
public static base_response update(nitro_service client, vrid resource) throws Exception { vrid updateresource = new vrid(); updateresource.id = resource.id; updateresource.priority = resource.priority; updateresource.preemption = resource.preemption; updateresource.sharing = resource.sharing; updateresourc...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "vrid", "resource", ")", "throws", "Exception", "{", "vrid", "updateresource", "=", "new", "vrid", "(", ")", ";", "updateresource", ".", "id", "=", "resource", ".", "id", ";"...
Use this API to update vrid.
[ "Use", "this", "API", "to", "update", "vrid", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L380-L388
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.update
public static base_responses update(nitro_service client, vrid resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vrid updateresources[] = new vrid[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new vrid(); upda...
java
public static base_responses update(nitro_service client, vrid resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vrid updateresources[] = new vrid[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new vrid(); upda...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "vrid", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "...
Use this API to update vrid resources.
[ "Use", "this", "API", "to", "update", "vrid", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L393-L408
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.get
public static vrid[] get(nitro_service service) throws Exception{ vrid obj = new vrid(); vrid[] response = (vrid[])obj.get_resources(service); return response; }
java
public static vrid[] get(nitro_service service) throws Exception{ vrid obj = new vrid(); vrid[] response = (vrid[])obj.get_resources(service); return response; }
[ "public", "static", "vrid", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vrid", "obj", "=", "new", "vrid", "(", ")", ";", "vrid", "[", "]", "response", "=", "(", "vrid", "[", "]", ")", "obj", ".", "get_resources...
Use this API to fetch all the vrid resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "vrid", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L457-L461
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java
vrid.get
public static vrid get(nitro_service service, Long id) throws Exception{ vrid obj = new vrid(); obj.set_id(id); vrid response = (vrid) obj.get_resource(service); return response; }
java
public static vrid get(nitro_service service, Long id) throws Exception{ vrid obj = new vrid(); obj.set_id(id); vrid response = (vrid) obj.get_resource(service); return response; }
[ "public", "static", "vrid", "get", "(", "nitro_service", "service", ",", "Long", "id", ")", "throws", "Exception", "{", "vrid", "obj", "=", "new", "vrid", "(", ")", ";", "obj", ".", "set_id", "(", "id", ")", ";", "vrid", "response", "=", "(", "vrid",...
Use this API to fetch vrid resource of given name .
[ "Use", "this", "API", "to", "fetch", "vrid", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid.java#L473-L478
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java
nshttpprofile.add
public static base_response add(nitro_service client, nshttpprofile resource) throws Exception { nshttpprofile addresource = new nshttpprofile(); addresource.name = resource.name; addresource.dropinvalreqs = resource.dropinvalreqs; addresource.markhttp09inval = resource.markhttp09inval; addresource.markconnre...
java
public static base_response add(nitro_service client, nshttpprofile resource) throws Exception { nshttpprofile addresource = new nshttpprofile(); addresource.name = resource.name; addresource.dropinvalreqs = resource.dropinvalreqs; addresource.markhttp09inval = resource.markhttp09inval; addresource.markconnre...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "nshttpprofile", "resource", ")", "throws", "Exception", "{", "nshttpprofile", "addresource", "=", "new", "nshttpprofile", "(", ")", ";", "addresource", ".", "name", "=", "resource", ...
Use this API to add nshttpprofile.
[ "Use", "this", "API", "to", "add", "nshttpprofile", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java#L494-L516
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java
nshttpprofile.update
public static base_response update(nitro_service client, nshttpprofile resource) throws Exception { nshttpprofile updateresource = new nshttpprofile(); updateresource.name = resource.name; updateresource.dropinvalreqs = resource.dropinvalreqs; updateresource.markhttp09inval = resource.markhttp09inval; updater...
java
public static base_response update(nitro_service client, nshttpprofile resource) throws Exception { nshttpprofile updateresource = new nshttpprofile(); updateresource.name = resource.name; updateresource.dropinvalreqs = resource.dropinvalreqs; updateresource.markhttp09inval = resource.markhttp09inval; updater...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "nshttpprofile", "resource", ")", "throws", "Exception", "{", "nshttpprofile", "updateresource", "=", "new", "nshttpprofile", "(", ")", ";", "updateresource", ".", "name", "=", "re...
Use this API to update nshttpprofile.
[ "Use", "this", "API", "to", "update", "nshttpprofile", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java#L605-L627
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java
nshttpprofile.update
public static base_responses update(nitro_service client, nshttpprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nshttpprofile updateresources[] = new nshttpprofile[resources.length]; for (int i=0;i<resources.length;i++){ updateresource...
java
public static base_responses update(nitro_service client, nshttpprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nshttpprofile updateresources[] = new nshttpprofile[resources.length]; for (int i=0;i<resources.length;i++){ updateresource...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "nshttpprofile", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ...
Use this API to update nshttpprofile resources.
[ "Use", "this", "API", "to", "update", "nshttpprofile", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java#L632-L661
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java
nshttpprofile.get
public static nshttpprofile[] get(nitro_service service) throws Exception{ nshttpprofile obj = new nshttpprofile(); nshttpprofile[] response = (nshttpprofile[])obj.get_resources(service); return response; }
java
public static nshttpprofile[] get(nitro_service service) throws Exception{ nshttpprofile obj = new nshttpprofile(); nshttpprofile[] response = (nshttpprofile[])obj.get_resources(service); return response; }
[ "public", "static", "nshttpprofile", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nshttpprofile", "obj", "=", "new", "nshttpprofile", "(", ")", ";", "nshttpprofile", "[", "]", "response", "=", "(", "nshttpprofile", "[", ...
Use this API to fetch all the nshttpprofile resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nshttpprofile", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java#L710-L714
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java
nshttpprofile.get
public static nshttpprofile get(nitro_service service, String name) throws Exception{ nshttpprofile obj = new nshttpprofile(); obj.set_name(name); nshttpprofile response = (nshttpprofile) obj.get_resource(service); return response; }
java
public static nshttpprofile get(nitro_service service, String name) throws Exception{ nshttpprofile obj = new nshttpprofile(); obj.set_name(name); nshttpprofile response = (nshttpprofile) obj.get_resource(service); return response; }
[ "public", "static", "nshttpprofile", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "nshttpprofile", "obj", "=", "new", "nshttpprofile", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "nshttppro...
Use this API to fetch nshttpprofile resource of given name .
[ "Use", "this", "API", "to", "fetch", "nshttpprofile", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshttpprofile.java#L726-L731
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vpathparam.java
vpathparam.update
public static base_response update(nitro_service client, vpathparam resource) throws Exception { vpathparam updateresource = new vpathparam(); updateresource.srcip = resource.srcip; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, vpathparam resource) throws Exception { vpathparam updateresource = new vpathparam(); updateresource.srcip = resource.srcip; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "vpathparam", "resource", ")", "throws", "Exception", "{", "vpathparam", "updateresource", "=", "new", "vpathparam", "(", ")", ";", "updateresource", ".", "srcip", "=", "resource",...
Use this API to update vpathparam.
[ "Use", "this", "API", "to", "update", "vpathparam", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vpathparam.java#L107-L111
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vpathparam.java
vpathparam.unset
public static base_response unset(nitro_service client, vpathparam resource, String[] args) throws Exception{ vpathparam unsetresource = new vpathparam(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, vpathparam resource, String[] args) throws Exception{ vpathparam unsetresource = new vpathparam(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "vpathparam", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "vpathparam", "unsetresource", "=", "new", "vpathparam", "(", ")", ";", "return", "un...
Use this API to unset the properties of vpathparam resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "vpathparam", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vpathparam.java#L117-L120
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vpathparam.java
vpathparam.get
public static vpathparam get(nitro_service service) throws Exception{ vpathparam obj = new vpathparam(); vpathparam[] response = (vpathparam[])obj.get_resources(service); return response[0]; }
java
public static vpathparam get(nitro_service service) throws Exception{ vpathparam obj = new vpathparam(); vpathparam[] response = (vpathparam[])obj.get_resources(service); return response[0]; }
[ "public", "static", "vpathparam", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vpathparam", "obj", "=", "new", "vpathparam", "(", ")", ";", "vpathparam", "[", "]", "response", "=", "(", "vpathparam", "[", "]", ")", "obj", ".", ...
Use this API to fetch all the vpathparam resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "vpathparam", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vpathparam.java#L125-L129
train
wellner/jcarafe
jcarafe-core/src/main/java/cern/colt/map/OpenIntObjectHashMap.java
OpenIntObjectHashMap.setUp
protected void setUp(int initialCapacity, double minLoadFactor, double maxLoadFactor) { int capacity = initialCapacity; super.setUp(capacity, minLoadFactor, maxLoadFactor); capacity = nextPrime(capacity); if (capacity==0) capacity=1; // open addressing needs at least one FREE slot at any time. this.table =...
java
protected void setUp(int initialCapacity, double minLoadFactor, double maxLoadFactor) { int capacity = initialCapacity; super.setUp(capacity, minLoadFactor, maxLoadFactor); capacity = nextPrime(capacity); if (capacity==0) capacity=1; // open addressing needs at least one FREE slot at any time. this.table =...
[ "protected", "void", "setUp", "(", "int", "initialCapacity", ",", "double", "minLoadFactor", ",", "double", "maxLoadFactor", ")", "{", "int", "capacity", "=", "initialCapacity", ";", "super", ".", "setUp", "(", "capacity", ",", "minLoadFactor", ",", "maxLoadFact...
Initializes the receiver. @param initialCapacity the initial capacity of the receiver. @param minLoadFactor the minLoadFactor of the receiver. @param maxLoadFactor the maxLoadFactor of the receiver. @throws IllegalArgumentException if <tt>initialCapacity < 0 || (minLoadFactor < 0.0 || mi...
[ "Initializes", "the", "receiver", "." ]
ab8b0a83dbf600fe80c27711815c90bd3055b217
https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/map/OpenIntObjectHashMap.java#L438-L462
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java
appfwfieldtype.add
public static base_response add(nitro_service client, appfwfieldtype resource) throws Exception { appfwfieldtype addresource = new appfwfieldtype(); addresource.name = resource.name; addresource.regex = resource.regex; addresource.priority = resource.priority; addresource.comment = resource.comment; return ...
java
public static base_response add(nitro_service client, appfwfieldtype resource) throws Exception { appfwfieldtype addresource = new appfwfieldtype(); addresource.name = resource.name; addresource.regex = resource.regex; addresource.priority = resource.priority; addresource.comment = resource.comment; return ...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "appfwfieldtype", "resource", ")", "throws", "Exception", "{", "appfwfieldtype", "addresource", "=", "new", "appfwfieldtype", "(", ")", ";", "addresource", ".", "name", "=", "resource...
Use this API to add appfwfieldtype.
[ "Use", "this", "API", "to", "add", "appfwfieldtype", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java#L180-L187
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java
appfwfieldtype.add
public static base_responses add(nitro_service client, appfwfieldtype resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appfwfieldtype addresources[] = new appfwfieldtype[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] =...
java
public static base_responses add(nitro_service client, appfwfieldtype resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appfwfieldtype addresources[] = new appfwfieldtype[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] =...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "appfwfieldtype", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", "...
Use this API to add appfwfieldtype resources.
[ "Use", "this", "API", "to", "add", "appfwfieldtype", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java#L192-L206
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java
appfwfieldtype.update
public static base_response update(nitro_service client, appfwfieldtype resource) throws Exception { appfwfieldtype updateresource = new appfwfieldtype(); updateresource.name = resource.name; updateresource.regex = resource.regex; updateresource.priority = resource.priority; updateresource.comment = resource....
java
public static base_response update(nitro_service client, appfwfieldtype resource) throws Exception { appfwfieldtype updateresource = new appfwfieldtype(); updateresource.name = resource.name; updateresource.regex = resource.regex; updateresource.priority = resource.priority; updateresource.comment = resource....
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "appfwfieldtype", "resource", ")", "throws", "Exception", "{", "appfwfieldtype", "updateresource", "=", "new", "appfwfieldtype", "(", ")", ";", "updateresource", ".", "name", "=", ...
Use this API to update appfwfieldtype.
[ "Use", "this", "API", "to", "update", "appfwfieldtype", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java#L261-L268
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java
appfwfieldtype.update
public static base_responses update(nitro_service client, appfwfieldtype resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appfwfieldtype updateresources[] = new appfwfieldtype[resources.length]; for (int i=0;i<resources.length;i++){ updateresou...
java
public static base_responses update(nitro_service client, appfwfieldtype resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appfwfieldtype updateresources[] = new appfwfieldtype[resources.length]; for (int i=0;i<resources.length;i++){ updateresou...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "appfwfieldtype", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ...
Use this API to update appfwfieldtype resources.
[ "Use", "this", "API", "to", "update", "appfwfieldtype", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java#L273-L287
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java
appfwfieldtype.get
public static appfwfieldtype[] get(nitro_service service) throws Exception{ appfwfieldtype obj = new appfwfieldtype(); appfwfieldtype[] response = (appfwfieldtype[])obj.get_resources(service); return response; }
java
public static appfwfieldtype[] get(nitro_service service) throws Exception{ appfwfieldtype obj = new appfwfieldtype(); appfwfieldtype[] response = (appfwfieldtype[])obj.get_resources(service); return response; }
[ "public", "static", "appfwfieldtype", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "appfwfieldtype", "obj", "=", "new", "appfwfieldtype", "(", ")", ";", "appfwfieldtype", "[", "]", "response", "=", "(", "appfwfieldtype", "...
Use this API to fetch all the appfwfieldtype resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "appfwfieldtype", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java#L292-L296
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java
appfwfieldtype.get
public static appfwfieldtype get(nitro_service service, String name) throws Exception{ appfwfieldtype obj = new appfwfieldtype(); obj.set_name(name); appfwfieldtype response = (appfwfieldtype) obj.get_resource(service); return response; }
java
public static appfwfieldtype get(nitro_service service, String name) throws Exception{ appfwfieldtype obj = new appfwfieldtype(); obj.set_name(name); appfwfieldtype response = (appfwfieldtype) obj.get_resource(service); return response; }
[ "public", "static", "appfwfieldtype", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "appfwfieldtype", "obj", "=", "new", "appfwfieldtype", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "appfwf...
Use this API to fetch appfwfieldtype resource of given name .
[ "Use", "this", "API", "to", "fetch", "appfwfieldtype", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwfieldtype.java#L308-L313
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/vpn/vpnvserver_stats.java
vpnvserver_stats.get
public static vpnvserver_stats[] get(nitro_service service) throws Exception{ vpnvserver_stats obj = new vpnvserver_stats(); vpnvserver_stats[] response = (vpnvserver_stats[])obj.stat_resources(service); return response; }
java
public static vpnvserver_stats[] get(nitro_service service) throws Exception{ vpnvserver_stats obj = new vpnvserver_stats(); vpnvserver_stats[] response = (vpnvserver_stats[])obj.stat_resources(service); return response; }
[ "public", "static", "vpnvserver_stats", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vpnvserver_stats", "obj", "=", "new", "vpnvserver_stats", "(", ")", ";", "vpnvserver_stats", "[", "]", "response", "=", "(", "vpnvserver_s...
Use this API to fetch the statistics of all vpnvserver_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "vpnvserver_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/vpn/vpnvserver_stats.java#L231-L235
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/vpn/vpnvserver_stats.java
vpnvserver_stats.get
public static vpnvserver_stats get(nitro_service service, String name) throws Exception{ vpnvserver_stats obj = new vpnvserver_stats(); obj.set_name(name); vpnvserver_stats response = (vpnvserver_stats) obj.stat_resource(service); return response; }
java
public static vpnvserver_stats get(nitro_service service, String name) throws Exception{ vpnvserver_stats obj = new vpnvserver_stats(); obj.set_name(name); vpnvserver_stats response = (vpnvserver_stats) obj.stat_resource(service); return response; }
[ "public", "static", "vpnvserver_stats", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "vpnvserver_stats", "obj", "=", "new", "vpnvserver_stats", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "...
Use this API to fetch statistics of vpnvserver_stats resource of given name .
[ "Use", "this", "API", "to", "fetch", "statistics", "of", "vpnvserver_stats", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/vpn/vpnvserver_stats.java#L249-L254
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ha/hanode_binding.java
hanode_binding.get
public static hanode_binding get(nitro_service service, Long id) throws Exception{ hanode_binding obj = new hanode_binding(); obj.set_id(id); hanode_binding response = (hanode_binding) obj.get_resource(service); return response; }
java
public static hanode_binding get(nitro_service service, Long id) throws Exception{ hanode_binding obj = new hanode_binding(); obj.set_id(id); hanode_binding response = (hanode_binding) obj.get_resource(service); return response; }
[ "public", "static", "hanode_binding", "get", "(", "nitro_service", "service", ",", "Long", "id", ")", "throws", "Exception", "{", "hanode_binding", "obj", "=", "new", "hanode_binding", "(", ")", ";", "obj", ".", "set_id", "(", "id", ")", ";", "hanode_binding...
Use this API to fetch hanode_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "hanode_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ha/hanode_binding.java#L159-L164
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/util/MtasSolrHistoryList.java
MtasSolrHistoryList.setLimits
public void setLimits(int softLimit, int hardLimit) { if ((softLimit > 0 && hardLimit > softLimit) || (softLimit == 0 && hardLimit == 0)) { this.softLimit = softLimit; this.hardLimit = hardLimit; garbageCollect(); } else { throw new IllegalArgumentException(); } }
java
public void setLimits(int softLimit, int hardLimit) { if ((softLimit > 0 && hardLimit > softLimit) || (softLimit == 0 && hardLimit == 0)) { this.softLimit = softLimit; this.hardLimit = hardLimit; garbageCollect(); } else { throw new IllegalArgumentException(); } }
[ "public", "void", "setLimits", "(", "int", "softLimit", ",", "int", "hardLimit", ")", "{", "if", "(", "(", "softLimit", ">", "0", "&&", "hardLimit", ">", "softLimit", ")", "||", "(", "softLimit", "==", "0", "&&", "hardLimit", "==", "0", ")", ")", "{"...
Sets the limits. @param softLimit the soft limit @param hardLimit the hard limit
[ "Sets", "the", "limits", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/util/MtasSolrHistoryList.java#L61-L69
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/TsurgeonPatternRoot.java
TsurgeonPatternRoot.evaluate
@Override public Tree evaluate(Tree t, TregexMatcher m) { newNodeNames = new HashMap<String,Tree>(); coindexer.setLastIndex(t); for (TsurgeonPattern child : children) { t = child.evaluate(t, m); if (t == null) { return null; } } return t; }
java
@Override public Tree evaluate(Tree t, TregexMatcher m) { newNodeNames = new HashMap<String,Tree>(); coindexer.setLastIndex(t); for (TsurgeonPattern child : children) { t = child.evaluate(t, m); if (t == null) { return null; } } return t; }
[ "@", "Override", "public", "Tree", "evaluate", "(", "Tree", "t", ",", "TregexMatcher", "m", ")", "{", "newNodeNames", "=", "new", "HashMap", "<", "String", ",", "Tree", ">", "(", ")", ";", "coindexer", ".", "setLastIndex", "(", "t", ")", ";", "for", ...
returns null if one of the surgeries eliminates the tree entirely. The operated-on tree is not to be trusted in this instance.
[ "returns", "null", "if", "one", "of", "the", "surgeries", "eliminates", "the", "tree", "entirely", ".", "The", "operated", "-", "on", "tree", "is", "not", "to", "be", "trusted", "in", "this", "instance", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/TsurgeonPatternRoot.java#L28-L39
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java
MtasSolrComponentStats.generatePermutations
private void generatePermutations( ArrayList<HashMap<String, String[]>[]> result, int index, HashMap<String, String[]>[][] subResult) { int localIndex = index; HashMap<String, String[]>[] value = subResult[localIndex]; if (localIndex == 0) { for (int i = 0; i < value.length; i++) { ...
java
private void generatePermutations( ArrayList<HashMap<String, String[]>[]> result, int index, HashMap<String, String[]>[][] subResult) { int localIndex = index; HashMap<String, String[]>[] value = subResult[localIndex]; if (localIndex == 0) { for (int i = 0; i < value.length; i++) { ...
[ "private", "void", "generatePermutations", "(", "ArrayList", "<", "HashMap", "<", "String", ",", "String", "[", "]", ">", "[", "]", ">", "result", ",", "int", "index", ",", "HashMap", "<", "String", ",", "String", "[", "]", ">", "[", "]", "[", "]", ...
Generate permutations. @param result the result @param index the index @param subResult the sub result
[ "Generate", "permutations", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java#L637-L664
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java
MtasSolrComponentStats.generatePermutationsQueryVariables
private void generatePermutationsQueryVariables( ArrayList<HashMap<String, String[]>> result, Set<String> keys, HashMap<String, String[]> queryVariables) { if (keys != null && !keys.isEmpty()) { Set<String> newKeys = new HashSet<>(); Iterator<String> it = keys.iterator(); String key = ...
java
private void generatePermutationsQueryVariables( ArrayList<HashMap<String, String[]>> result, Set<String> keys, HashMap<String, String[]> queryVariables) { if (keys != null && !keys.isEmpty()) { Set<String> newKeys = new HashSet<>(); Iterator<String> it = keys.iterator(); String key = ...
[ "private", "void", "generatePermutationsQueryVariables", "(", "ArrayList", "<", "HashMap", "<", "String", ",", "String", "[", "]", ">", ">", "result", ",", "Set", "<", "String", ">", "keys", ",", "HashMap", "<", "String", ",", "String", "[", "]", ">", "q...
Generate permutations query variables. @param result the result @param keys the keys @param queryVariables the query variables
[ "Generate", "permutations", "query", "variables", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java#L687-L732
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java
MtasSolrComponentStats.createPosition
private SimpleOrderedMap<Object> createPosition(ComponentPosition position, Boolean encode) throws IOException { // System.out.println("Create stats position " + position.dataType + " " // + position.statsType + " " + position.statsItems + " --- " + encode); SimpleOrderedMap<Object> mtasPositionRespon...
java
private SimpleOrderedMap<Object> createPosition(ComponentPosition position, Boolean encode) throws IOException { // System.out.println("Create stats position " + position.dataType + " " // + position.statsType + " " + position.statsItems + " --- " + encode); SimpleOrderedMap<Object> mtasPositionRespon...
[ "private", "SimpleOrderedMap", "<", "Object", ">", "createPosition", "(", "ComponentPosition", "position", ",", "Boolean", "encode", ")", "throws", "IOException", "{", "// System.out.println(\"Create stats position \" + position.dataType + \" \"", "// + position.statsType + \" \" +...
Creates the position. @param position the position @param encode the encode @return the simple ordered map @throws IOException Signals that an I/O exception has occurred.
[ "Creates", "the", "position", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java#L876-L892
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java
MtasSolrComponentStats.createToken
private SimpleOrderedMap<Object> createToken(ComponentToken token, Boolean encode) throws IOException { // System.out.println("Create stats position " + position.dataType + " " // + position.statsType + " " + position.statsItems + " --- " + encode); SimpleOrderedMap<Object> mtasTokenResponse = new Sim...
java
private SimpleOrderedMap<Object> createToken(ComponentToken token, Boolean encode) throws IOException { // System.out.println("Create stats position " + position.dataType + " " // + position.statsType + " " + position.statsItems + " --- " + encode); SimpleOrderedMap<Object> mtasTokenResponse = new Sim...
[ "private", "SimpleOrderedMap", "<", "Object", ">", "createToken", "(", "ComponentToken", "token", ",", "Boolean", "encode", ")", "throws", "IOException", "{", "// System.out.println(\"Create stats position \" + position.dataType + \" \"", "// + position.statsType + \" \" + position...
Creates the token. @param token the token @param encode the encode @return the simple ordered map @throws IOException Signals that an I/O exception has occurred.
[ "Creates", "the", "token", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java#L902-L917
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java
MtasSolrComponentStats.createSpan
@SuppressWarnings("unchecked") private SimpleOrderedMap<Object> createSpan(ComponentSpan span, Boolean encode) throws IOException { // System.out.println("Create stats span " + span.dataType + " " // + span.statsType + " " + span.statsItems + " --- " + encode); SimpleOrderedMap<Object> mtasSpanRespo...
java
@SuppressWarnings("unchecked") private SimpleOrderedMap<Object> createSpan(ComponentSpan span, Boolean encode) throws IOException { // System.out.println("Create stats span " + span.dataType + " " // + span.statsType + " " + span.statsItems + " --- " + encode); SimpleOrderedMap<Object> mtasSpanRespo...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "SimpleOrderedMap", "<", "Object", ">", "createSpan", "(", "ComponentSpan", "span", ",", "Boolean", "encode", ")", "throws", "IOException", "{", "// System.out.println(\"Create stats span \" + span.dataType + \"...
Creates the span. @param span the span @param encode the encode @return the simple ordered map @throws IOException Signals that an I/O exception has occurred.
[ "Creates", "the", "span", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/component/util/MtasSolrComponentStats.java#L927-L957
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/util/MtasSolrStatus.java
MtasSolrStatus.shardKey
public final String shardKey(int stage) { if (shardStageKeys == null) { return null; } else { shardKey = shardStageKeys.get(stage); if (shardKey == null) { shardKey = UUID.randomUUID().toString(); shardStageKeys.put(stage, shardKey); } return shardKey; } }
java
public final String shardKey(int stage) { if (shardStageKeys == null) { return null; } else { shardKey = shardStageKeys.get(stage); if (shardKey == null) { shardKey = UUID.randomUUID().toString(); shardStageKeys.put(stage, shardKey); } return shardKey; } }
[ "public", "final", "String", "shardKey", "(", "int", "stage", ")", "{", "if", "(", "shardStageKeys", "==", "null", ")", "{", "return", "null", ";", "}", "else", "{", "shardKey", "=", "shardStageKeys", ".", "get", "(", "stage", ")", ";", "if", "(", "s...
Shard key. @param stage the stage @return the string
[ "Shard", "key", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/util/MtasSolrStatus.java#L257-L268
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/util/MtasSolrStatus.java
MtasSolrStatus.setFinished
public final void setFinished() { if (!finished) { totalTime = ((Long) (System.currentTimeMillis() - startTime)).intValue(); shardInfoUpdated = false; finished = true; rsp = null; } }
java
public final void setFinished() { if (!finished) { totalTime = ((Long) (System.currentTimeMillis() - startTime)).intValue(); shardInfoUpdated = false; finished = true; rsp = null; } }
[ "public", "final", "void", "setFinished", "(", ")", "{", "if", "(", "!", "finished", ")", "{", "totalTime", "=", "(", "(", "Long", ")", "(", "System", ".", "currentTimeMillis", "(", ")", "-", "startTime", ")", ")", ".", "intValue", "(", ")", ";", "...
Sets the finished.
[ "Sets", "the", "finished", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/util/MtasSolrStatus.java#L323-L330
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/util/MtasSolrStatus.java
MtasSolrStatus.setKey
public void setKey(String key) throws IOException { if (this.key != null) { throw new IOException("key already set"); } else { this.key = Objects.requireNonNull(key, "key required"); } }
java
public void setKey(String key) throws IOException { if (this.key != null) { throw new IOException("key already set"); } else { this.key = Objects.requireNonNull(key, "key required"); } }
[ "public", "void", "setKey", "(", "String", "key", ")", "throws", "IOException", "{", "if", "(", "this", ".", "key", "!=", "null", ")", "{", "throw", "new", "IOException", "(", "\"key already set\"", ")", ";", "}", "else", "{", "this", ".", "key", "=", ...
Sets the key. @param key the new key @throws IOException Signals that an I/O exception has occurred.
[ "Sets", "the", "key", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/util/MtasSolrStatus.java#L340-L346
train