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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/sequences/SequenceSampler.java | SequenceSampler.bestSequence | public int[] bestSequence(SequenceModel ts) {
int[] sample = new int[ts.length()+ts.leftWindow()];
for (int pos = ts.leftWindow(); pos < sample.length; pos++) {
double[] scores = ts.scoresOf(sample, pos);
double total = 0.0;
for (int i = 0; i < scores.length; i++) {
score... | java | public int[] bestSequence(SequenceModel ts) {
int[] sample = new int[ts.length()+ts.leftWindow()];
for (int pos = ts.leftWindow(); pos < sample.length; pos++) {
double[] scores = ts.scoresOf(sample, pos);
double total = 0.0;
for (int i = 0; i < scores.length; i++) {
score... | [
"public",
"int",
"[",
"]",
"bestSequence",
"(",
"SequenceModel",
"ts",
")",
"{",
"int",
"[",
"]",
"sample",
"=",
"new",
"int",
"[",
"ts",
".",
"length",
"(",
")",
"+",
"ts",
".",
"leftWindow",
"(",
")",
"]",
";",
"for",
"(",
"int",
"pos",
"=",
... | Runs the Viterbi algorithm on the sequence model given by the TagScorer
in order to find the best sequence.
@return an array containing the int tags of the best sequence | [
"Runs",
"the",
"Viterbi",
"algorithm",
"on",
"the",
"sequence",
"model",
"given",
"by",
"the",
"TagScorer",
"in",
"order",
"to",
"find",
"the",
"best",
"sequence",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/sequences/SequenceSampler.java#L89-L105 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_csvserver_binding.java | auditnslogpolicy_csvserver_binding.get | public static auditnslogpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{
auditnslogpolicy_csvserver_binding obj = new auditnslogpolicy_csvserver_binding();
obj.set_name(name);
auditnslogpolicy_csvserver_binding response[] = (auditnslogpolicy_csvserver_binding[]) obj.get_resourc... | java | public static auditnslogpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{
auditnslogpolicy_csvserver_binding obj = new auditnslogpolicy_csvserver_binding();
obj.set_name(name);
auditnslogpolicy_csvserver_binding response[] = (auditnslogpolicy_csvserver_binding[]) obj.get_resourc... | [
"public",
"static",
"auditnslogpolicy_csvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"auditnslogpolicy_csvserver_binding",
"obj",
"=",
"new",
"auditnslogpolicy_csvserver_binding",
"(",
")",
"... | Use this API to fetch auditnslogpolicy_csvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"auditnslogpolicy_csvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_csvserver_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationcertpolicy_vpnglobal_binding.java | authenticationcertpolicy_vpnglobal_binding.get | public static authenticationcertpolicy_vpnglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationcertpolicy_vpnglobal_binding obj = new authenticationcertpolicy_vpnglobal_binding();
obj.set_name(name);
authenticationcertpolicy_vpnglobal_binding response[] = (authenticationcertpol... | java | public static authenticationcertpolicy_vpnglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationcertpolicy_vpnglobal_binding obj = new authenticationcertpolicy_vpnglobal_binding();
obj.set_name(name);
authenticationcertpolicy_vpnglobal_binding response[] = (authenticationcertpol... | [
"public",
"static",
"authenticationcertpolicy_vpnglobal_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authenticationcertpolicy_vpnglobal_binding",
"obj",
"=",
"new",
"authenticationcertpolicy_vpnglobal_bin... | Use this API to fetch authenticationcertpolicy_vpnglobal_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authenticationcertpolicy_vpnglobal_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationcertpolicy_vpnglobal_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertreq.java | sslcertreq.create | public static base_response create(nitro_service client, sslcertreq resource) throws Exception {
sslcertreq createresource = new sslcertreq();
createresource.reqfile = resource.reqfile;
createresource.keyfile = resource.keyfile;
createresource.fipskeyname = resource.fipskeyname;
createresource.keyform = resou... | java | public static base_response create(nitro_service client, sslcertreq resource) throws Exception {
sslcertreq createresource = new sslcertreq();
createresource.reqfile = resource.reqfile;
createresource.keyfile = resource.keyfile;
createresource.fipskeyname = resource.fipskeyname;
createresource.keyform = resou... | [
"public",
"static",
"base_response",
"create",
"(",
"nitro_service",
"client",
",",
"sslcertreq",
"resource",
")",
"throws",
"Exception",
"{",
"sslcertreq",
"createresource",
"=",
"new",
"sslcertreq",
"(",
")",
";",
"createresource",
".",
"reqfile",
"=",
"resource... | Use this API to create sslcertreq. | [
"Use",
"this",
"API",
"to",
"create",
"sslcertreq",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertreq.java#L349-L366 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpoid.java | snmpoid.get | public static snmpoid[] get(nitro_service service, snmpoid_args args) throws Exception{
snmpoid obj = new snmpoid();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
snmpoid[] response = (snmpoid[])obj.get_resources(service, option);
return response;
} | java | public static snmpoid[] get(nitro_service service, snmpoid_args args) throws Exception{
snmpoid obj = new snmpoid();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
snmpoid[] response = (snmpoid[])obj.get_resources(service, option);
return response;
} | [
"public",
"static",
"snmpoid",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"snmpoid_args",
"args",
")",
"throws",
"Exception",
"{",
"snmpoid",
"obj",
"=",
"new",
"snmpoid",
"(",
")",
";",
"options",
"option",
"=",
"new",
"options",
"(",
")",
"... | Use this API to fetch all the snmpoid resources that are configured on netscaler.
This uses snmpoid_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"snmpoid",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"snmpoid_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/snmp/snmpoid.java#L151-L157 | train |
meertensinstituut/mtas | src/main/java/mtas/search/spans/MtasSpanRecurrenceSpans.java | MtasSpanRecurrenceSpans.toMatchDoc | int toMatchDoc() throws IOException {
while (true) {
if (findMatches()) {
return docID();
}
resetQueue();
if (spans.nextDoc() == NO_MORE_DOCS) {
return NO_MORE_DOCS;
}
}
} | java | int toMatchDoc() throws IOException {
while (true) {
if (findMatches()) {
return docID();
}
resetQueue();
if (spans.nextDoc() == NO_MORE_DOCS) {
return NO_MORE_DOCS;
}
}
} | [
"int",
"toMatchDoc",
"(",
")",
"throws",
"IOException",
"{",
"while",
"(",
"true",
")",
"{",
"if",
"(",
"findMatches",
"(",
")",
")",
"{",
"return",
"docID",
"(",
")",
";",
"}",
"resetQueue",
"(",
")",
";",
"if",
"(",
"spans",
".",
"nextDoc",
"(",
... | To match doc.
@return the int
@throws IOException Signals that an I/O exception has occurred. | [
"To",
"match",
"doc",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/search/spans/MtasSpanRecurrenceSpans.java#L211-L221 | train |
meertensinstituut/mtas | src/main/java/mtas/search/spans/MtasSpanRecurrenceSpans.java | MtasSpanRecurrenceSpans.collectSpan | private boolean collectSpan() throws IOException {
if (lastSpan) {
return false;
} else if (spans.nextStartPosition() == NO_MORE_POSITIONS) {
lastSpan = true;
return false;
} else {
queueSpans.add(new Match(spans.startPosition(), spans.endPosition()));
lastStartPosition = spans... | java | private boolean collectSpan() throws IOException {
if (lastSpan) {
return false;
} else if (spans.nextStartPosition() == NO_MORE_POSITIONS) {
lastSpan = true;
return false;
} else {
queueSpans.add(new Match(spans.startPosition(), spans.endPosition()));
lastStartPosition = spans... | [
"private",
"boolean",
"collectSpan",
"(",
")",
"throws",
"IOException",
"{",
"if",
"(",
"lastSpan",
")",
"{",
"return",
"false",
";",
"}",
"else",
"if",
"(",
"spans",
".",
"nextStartPosition",
"(",
")",
"==",
"NO_MORE_POSITIONS",
")",
"{",
"lastSpan",
"=",... | try to get something in the queue of spans | [
"try",
"to",
"get",
"something",
"in",
"the",
"queue",
"of",
"spans"
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/search/spans/MtasSpanRecurrenceSpans.java#L230-L241 | train |
meertensinstituut/mtas | src/main/java/mtas/search/spans/MtasSpanRecurrenceSpans.java | MtasSpanRecurrenceSpans.expandWithIgnoreItem | private List<Match> expandWithIgnoreItem(int docId, Match match) {
List<Match> list = new ArrayList<>();
try {
Set<Integer> ignoreList = ignoreItem.getFullEndPositionList(docId,
match.endPosition);
if (ignoreList != null) {
for (Integer endPosition : ignoreList) {
list.ad... | java | private List<Match> expandWithIgnoreItem(int docId, Match match) {
List<Match> list = new ArrayList<>();
try {
Set<Integer> ignoreList = ignoreItem.getFullEndPositionList(docId,
match.endPosition);
if (ignoreList != null) {
for (Integer endPosition : ignoreList) {
list.ad... | [
"private",
"List",
"<",
"Match",
">",
"expandWithIgnoreItem",
"(",
"int",
"docId",
",",
"Match",
"match",
")",
"{",
"List",
"<",
"Match",
">",
"list",
"=",
"new",
"ArrayList",
"<>",
"(",
")",
";",
"try",
"{",
"Set",
"<",
"Integer",
">",
"ignoreList",
... | Expand with ignore item.
@param docId the doc id
@param match the match
@return the list | [
"Expand",
"with",
"ignore",
"item",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/search/spans/MtasSpanRecurrenceSpans.java#L353-L367 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_binding.java | csvserver_binding.get | public static csvserver_binding get(nitro_service service, String name) throws Exception{
csvserver_binding obj = new csvserver_binding();
obj.set_name(name);
csvserver_binding response = (csvserver_binding) obj.get_resource(service);
return response;
} | java | public static csvserver_binding get(nitro_service service, String name) throws Exception{
csvserver_binding obj = new csvserver_binding();
obj.set_name(name);
csvserver_binding response = (csvserver_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"csvserver_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"csvserver_binding",
"obj",
"=",
"new",
"csvserver_binding",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
... | Use this API to fetch csvserver_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"csvserver_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_binding.java#L268-L273 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformglobal_binding.java | transformglobal_binding.get | public static transformglobal_binding get(nitro_service service) throws Exception{
transformglobal_binding obj = new transformglobal_binding();
transformglobal_binding response = (transformglobal_binding) obj.get_resource(service);
return response;
} | java | public static transformglobal_binding get(nitro_service service) throws Exception{
transformglobal_binding obj = new transformglobal_binding();
transformglobal_binding response = (transformglobal_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"transformglobal_binding",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"transformglobal_binding",
"obj",
"=",
"new",
"transformglobal_binding",
"(",
")",
";",
"transformglobal_binding",
"response",
"=",
"(",
"transformglo... | Use this API to fetch a transformglobal_binding resource . | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"transformglobal_binding",
"resource",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformglobal_binding.java#L84-L88 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_vpnurl_binding.java | aaagroup_vpnurl_binding.get | public static aaagroup_vpnurl_binding[] get(nitro_service service, String groupname) throws Exception{
aaagroup_vpnurl_binding obj = new aaagroup_vpnurl_binding();
obj.set_groupname(groupname);
aaagroup_vpnurl_binding response[] = (aaagroup_vpnurl_binding[]) obj.get_resources(service);
return response;
} | java | public static aaagroup_vpnurl_binding[] get(nitro_service service, String groupname) throws Exception{
aaagroup_vpnurl_binding obj = new aaagroup_vpnurl_binding();
obj.set_groupname(groupname);
aaagroup_vpnurl_binding response[] = (aaagroup_vpnurl_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"aaagroup_vpnurl_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"groupname",
")",
"throws",
"Exception",
"{",
"aaagroup_vpnurl_binding",
"obj",
"=",
"new",
"aaagroup_vpnurl_binding",
"(",
")",
";",
"obj",
".",
"set_g... | Use this API to fetch aaagroup_vpnurl_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"aaagroup_vpnurl_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_vpnurl_binding.java#L246-L251 | train |
meertensinstituut/mtas | src/main/java/mtas/codec/tree/IntervalTreeNode.java | IntervalTreeNode.addList | final public void addList(ArrayList<MtasTreeHit<T>> list) {
if (list != null) {
lists.add(list);
}
} | java | final public void addList(ArrayList<MtasTreeHit<T>> list) {
if (list != null) {
lists.add(list);
}
} | [
"final",
"public",
"void",
"addList",
"(",
"ArrayList",
"<",
"MtasTreeHit",
"<",
"T",
">",
">",
"list",
")",
"{",
"if",
"(",
"list",
"!=",
"null",
")",
"{",
"lists",
".",
"add",
"(",
"list",
")",
";",
"}",
"}"
] | Adds the list.
@param list the list | [
"Adds",
"the",
"list",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/tree/IntervalTreeNode.java#L57-L61 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/MtasTokenizer.java | MtasTokenizer.constructTokenCollection | private void constructTokenCollection(final Reader reader)
throws MtasConfigException, MtasParserException {
tokenCollection = null;
try {
Constructor<?> c = Class.forName(parserName)
.getDeclaredConstructor(MtasConfiguration.class);
Object p = c.newInstance(parserConfiguration... | java | private void constructTokenCollection(final Reader reader)
throws MtasConfigException, MtasParserException {
tokenCollection = null;
try {
Constructor<?> c = Class.forName(parserName)
.getDeclaredConstructor(MtasConfiguration.class);
Object p = c.newInstance(parserConfiguration... | [
"private",
"void",
"constructTokenCollection",
"(",
"final",
"Reader",
"reader",
")",
"throws",
"MtasConfigException",
",",
"MtasParserException",
"{",
"tokenCollection",
"=",
"null",
";",
"try",
"{",
"Constructor",
"<",
"?",
">",
"c",
"=",
"Class",
".",
"forNam... | Construct token collection.
@param reader the reader
@throws MtasConfigException the mtas config exception
@throws MtasParserException the mtas parser exception | [
"Construct",
"token",
"collection",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/MtasTokenizer.java#L228-L254 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/MtasTokenizer.java | MtasTokenizer.readConfigurationFile | private void readConfigurationFile(final String configFile) {
InputStream is;
try {
is = new FileInputStream(configFile);
processConfiguration(MtasConfiguration.readConfiguration(is));
is.close();
} catch (FileNotFoundException e) {
log.error("Couldn't find " + configFile, e);
} ... | java | private void readConfigurationFile(final String configFile) {
InputStream is;
try {
is = new FileInputStream(configFile);
processConfiguration(MtasConfiguration.readConfiguration(is));
is.close();
} catch (FileNotFoundException e) {
log.error("Couldn't find " + configFile, e);
} ... | [
"private",
"void",
"readConfigurationFile",
"(",
"final",
"String",
"configFile",
")",
"{",
"InputStream",
"is",
";",
"try",
"{",
"is",
"=",
"new",
"FileInputStream",
"(",
"configFile",
")",
";",
"processConfiguration",
"(",
"MtasConfiguration",
".",
"readConfigur... | Read configuration file.
@param configFile the config file | [
"Read",
"configuration",
"file",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/MtasTokenizer.java#L261-L272 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/MtasTokenizer.java | MtasTokenizer.processConfiguration | private void processConfiguration(final MtasConfiguration config)
throws IOException {
HashMap<String, Integer> indexEncodingMapper = new HashMap<>();
indexEncodingMapper.put("payload", MtasPayloadEncoder.ENCODE_PAYLOAD);
indexEncodingMapper.put("offset", MtasPayloadEncoder.ENCODE_OFFSET);
indexEn... | java | private void processConfiguration(final MtasConfiguration config)
throws IOException {
HashMap<String, Integer> indexEncodingMapper = new HashMap<>();
indexEncodingMapper.put("payload", MtasPayloadEncoder.ENCODE_PAYLOAD);
indexEncodingMapper.put("offset", MtasPayloadEncoder.ENCODE_OFFSET);
indexEn... | [
"private",
"void",
"processConfiguration",
"(",
"final",
"MtasConfiguration",
"config",
")",
"throws",
"IOException",
"{",
"HashMap",
"<",
"String",
",",
"Integer",
">",
"indexEncodingMapper",
"=",
"new",
"HashMap",
"<>",
"(",
")",
";",
"indexEncodingMapper",
".",... | Process configuration.
@param config the config
@throws IOException Signals that an I/O exception has occurred. | [
"Process",
"configuration",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/MtasTokenizer.java#L280-L316 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/util/nitro_util.java | nitro_util.encode | public static String encode(String str)
{
try
{
return java.net.URLEncoder.encode(str, "UTF-8");
}
catch(java.io.UnsupportedEncodingException ue)
{
return str;
}
} | java | public static String encode(String str)
{
try
{
return java.net.URLEncoder.encode(str, "UTF-8");
}
catch(java.io.UnsupportedEncodingException ue)
{
return str;
}
} | [
"public",
"static",
"String",
"encode",
"(",
"String",
"str",
")",
"{",
"try",
"{",
"return",
"java",
".",
"net",
".",
"URLEncoder",
".",
"encode",
"(",
"str",
",",
"\"UTF-8\"",
")",
";",
"}",
"catch",
"(",
"java",
".",
"io",
".",
"UnsupportedEncodingE... | encodes the given string using URLEncoder.
@param str String that is to be encoded.
@return encoded string. | [
"encodes",
"the",
"given",
"string",
"using",
"URLEncoder",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/util/nitro_util.java#L34-L44 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaatacacsparams.java | aaatacacsparams.update | public static base_response update(nitro_service client, aaatacacsparams resource) throws Exception {
aaatacacsparams updateresource = new aaatacacsparams();
updateresource.serverip = resource.serverip;
updateresource.serverport = resource.serverport;
updateresource.authtimeout = resource.authtimeout;
updater... | java | public static base_response update(nitro_service client, aaatacacsparams resource) throws Exception {
aaatacacsparams updateresource = new aaatacacsparams();
updateresource.serverip = resource.serverip;
updateresource.serverport = resource.serverport;
updateresource.authtimeout = resource.authtimeout;
updater... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"aaatacacsparams",
"resource",
")",
"throws",
"Exception",
"{",
"aaatacacsparams",
"updateresource",
"=",
"new",
"aaatacacsparams",
"(",
")",
";",
"updateresource",
".",
"serverip",
... | Use this API to update aaatacacsparams. | [
"Use",
"this",
"API",
"to",
"update",
"aaatacacsparams",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaatacacsparams.java#L245-L256 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaatacacsparams.java | aaatacacsparams.unset | public static base_response unset(nitro_service client, aaatacacsparams resource, String[] args) throws Exception{
aaatacacsparams unsetresource = new aaatacacsparams();
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, aaatacacsparams resource, String[] args) throws Exception{
aaatacacsparams unsetresource = new aaatacacsparams();
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"aaatacacsparams",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"aaatacacsparams",
"unsetresource",
"=",
"new",
"aaatacacsparams",
"(",
")",
";",
... | Use this API to unset the properties of aaatacacsparams resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"aaatacacsparams",
"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/aaa/aaatacacsparams.java#L262-L265 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaatacacsparams.java | aaatacacsparams.get | public static aaatacacsparams get(nitro_service service) throws Exception{
aaatacacsparams obj = new aaatacacsparams();
aaatacacsparams[] response = (aaatacacsparams[])obj.get_resources(service);
return response[0];
} | java | public static aaatacacsparams get(nitro_service service) throws Exception{
aaatacacsparams obj = new aaatacacsparams();
aaatacacsparams[] response = (aaatacacsparams[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"aaatacacsparams",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"aaatacacsparams",
"obj",
"=",
"new",
"aaatacacsparams",
"(",
")",
";",
"aaatacacsparams",
"[",
"]",
"response",
"=",
"(",
"aaatacacsparams",
"[",
"]"... | Use this API to fetch all the aaatacacsparams resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"aaatacacsparams",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaatacacsparams.java#L270-L274 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/parser/MtasParser.java | MtasParser.initParser | protected void initParser() throws MtasConfigException {
if (config != null) {
// find namespaceURI
for (int i = 0; i < config.children.size(); i++) {
MtasConfiguration current = config.children.get(i);
if (current.name.equals("autorepair")) {
autorepair = current.attributes.ge... | java | protected void initParser() throws MtasConfigException {
if (config != null) {
// find namespaceURI
for (int i = 0; i < config.children.size(); i++) {
MtasConfiguration current = config.children.get(i);
if (current.name.equals("autorepair")) {
autorepair = current.attributes.ge... | [
"protected",
"void",
"initParser",
"(",
")",
"throws",
"MtasConfigException",
"{",
"if",
"(",
"config",
"!=",
"null",
")",
"{",
"// find namespaceURI",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"config",
".",
"children",
".",
"size",
"(",
")",
"... | Inits the parser.
@throws MtasConfigException the mtas config exception | [
"Inits",
"the",
"parser",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/parser/MtasParser.java#L55-L68 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java | bridgegroup.add | public static base_response add(nitro_service client, bridgegroup resource) throws Exception {
bridgegroup addresource = new bridgegroup();
addresource.id = resource.id;
addresource.ipv6dynamicrouting = resource.ipv6dynamicrouting;
return addresource.add_resource(client);
} | java | public static base_response add(nitro_service client, bridgegroup resource) throws Exception {
bridgegroup addresource = new bridgegroup();
addresource.id = resource.id;
addresource.ipv6dynamicrouting = resource.ipv6dynamicrouting;
return addresource.add_resource(client);
} | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"bridgegroup",
"resource",
")",
"throws",
"Exception",
"{",
"bridgegroup",
"addresource",
"=",
"new",
"bridgegroup",
"(",
")",
";",
"addresource",
".",
"id",
"=",
"resource",
".",
... | Use this API to add bridgegroup. | [
"Use",
"this",
"API",
"to",
"add",
"bridgegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java#L187-L192 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java | bridgegroup.update | public static base_response update(nitro_service client, bridgegroup resource) throws Exception {
bridgegroup updateresource = new bridgegroup();
updateresource.id = resource.id;
updateresource.ipv6dynamicrouting = resource.ipv6dynamicrouting;
return updateresource.update_resource(client);
} | java | public static base_response update(nitro_service client, bridgegroup resource) throws Exception {
bridgegroup updateresource = new bridgegroup();
updateresource.id = resource.id;
updateresource.ipv6dynamicrouting = resource.ipv6dynamicrouting;
return updateresource.update_resource(client);
} | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"bridgegroup",
"resource",
")",
"throws",
"Exception",
"{",
"bridgegroup",
"updateresource",
"=",
"new",
"bridgegroup",
"(",
")",
";",
"updateresource",
".",
"id",
"=",
"resource",... | Use this API to update bridgegroup. | [
"Use",
"this",
"API",
"to",
"update",
"bridgegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java#L264-L269 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java | bridgegroup.update | public static base_responses update(nitro_service client, bridgegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
bridgegroup updateresources[] = new bridgegroup[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] =... | java | public static base_responses update(nitro_service client, bridgegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
bridgegroup updateresources[] = new bridgegroup[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] =... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"bridgegroup",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
"... | Use this API to update bridgegroup resources. | [
"Use",
"this",
"API",
"to",
"update",
"bridgegroup",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java#L274-L286 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java | bridgegroup.get | public static bridgegroup[] get(nitro_service service) throws Exception{
bridgegroup obj = new bridgegroup();
bridgegroup[] response = (bridgegroup[])obj.get_resources(service);
return response;
} | java | public static bridgegroup[] get(nitro_service service) throws Exception{
bridgegroup obj = new bridgegroup();
bridgegroup[] response = (bridgegroup[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"bridgegroup",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"bridgegroup",
"obj",
"=",
"new",
"bridgegroup",
"(",
")",
";",
"bridgegroup",
"[",
"]",
"response",
"=",
"(",
"bridgegroup",
"[",
"]",
")... | Use this API to fetch all the bridgegroup resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"bridgegroup",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java#L335-L339 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java | bridgegroup.get | public static bridgegroup get(nitro_service service, Long id) throws Exception{
bridgegroup obj = new bridgegroup();
obj.set_id(id);
bridgegroup response = (bridgegroup) obj.get_resource(service);
return response;
} | java | public static bridgegroup get(nitro_service service, Long id) throws Exception{
bridgegroup obj = new bridgegroup();
obj.set_id(id);
bridgegroup response = (bridgegroup) obj.get_resource(service);
return response;
} | [
"public",
"static",
"bridgegroup",
"get",
"(",
"nitro_service",
"service",
",",
"Long",
"id",
")",
"throws",
"Exception",
"{",
"bridgegroup",
"obj",
"=",
"new",
"bridgegroup",
"(",
")",
";",
"obj",
".",
"set_id",
"(",
"id",
")",
";",
"bridgegroup",
"respon... | Use this API to fetch bridgegroup resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"bridgegroup",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup.java#L351-L356 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/tm/tmtrafficpolicy_stats.java | tmtrafficpolicy_stats.get | public static tmtrafficpolicy_stats[] get(nitro_service service) throws Exception{
tmtrafficpolicy_stats obj = new tmtrafficpolicy_stats();
tmtrafficpolicy_stats[] response = (tmtrafficpolicy_stats[])obj.stat_resources(service);
return response;
} | java | public static tmtrafficpolicy_stats[] get(nitro_service service) throws Exception{
tmtrafficpolicy_stats obj = new tmtrafficpolicy_stats();
tmtrafficpolicy_stats[] response = (tmtrafficpolicy_stats[])obj.stat_resources(service);
return response;
} | [
"public",
"static",
"tmtrafficpolicy_stats",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"tmtrafficpolicy_stats",
"obj",
"=",
"new",
"tmtrafficpolicy_stats",
"(",
")",
";",
"tmtrafficpolicy_stats",
"[",
"]",
"response",
"=",
... | Use this API to fetch the statistics of all tmtrafficpolicy_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"tmtrafficpolicy_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/tm/tmtrafficpolicy_stats.java#L131-L135 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/tm/tmtrafficpolicy_stats.java | tmtrafficpolicy_stats.get | public static tmtrafficpolicy_stats get(nitro_service service, String name) throws Exception{
tmtrafficpolicy_stats obj = new tmtrafficpolicy_stats();
obj.set_name(name);
tmtrafficpolicy_stats response = (tmtrafficpolicy_stats) obj.stat_resource(service);
return response;
} | java | public static tmtrafficpolicy_stats get(nitro_service service, String name) throws Exception{
tmtrafficpolicy_stats obj = new tmtrafficpolicy_stats();
obj.set_name(name);
tmtrafficpolicy_stats response = (tmtrafficpolicy_stats) obj.stat_resource(service);
return response;
} | [
"public",
"static",
"tmtrafficpolicy_stats",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"tmtrafficpolicy_stats",
"obj",
"=",
"new",
"tmtrafficpolicy_stats",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
... | Use this API to fetch statistics of tmtrafficpolicy_stats resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"statistics",
"of",
"tmtrafficpolicy_stats",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/tm/tmtrafficpolicy_stats.java#L149-L154 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy_lbvserver_binding.java | cmppolicy_lbvserver_binding.get | public static cmppolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
cmppolicy_lbvserver_binding obj = new cmppolicy_lbvserver_binding();
obj.set_name(name);
cmppolicy_lbvserver_binding response[] = (cmppolicy_lbvserver_binding[]) obj.get_resources(service);
return response;
} | java | public static cmppolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
cmppolicy_lbvserver_binding obj = new cmppolicy_lbvserver_binding();
obj.set_name(name);
cmppolicy_lbvserver_binding response[] = (cmppolicy_lbvserver_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"cmppolicy_lbvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"cmppolicy_lbvserver_binding",
"obj",
"=",
"new",
"cmppolicy_lbvserver_binding",
"(",
")",
";",
"obj",
".",
... | Use this API to fetch cmppolicy_lbvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"cmppolicy_lbvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy_lbvserver_binding.java#L162-L167 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.add | public static base_response add(nitro_service client, lbmetrictable resource) throws Exception {
lbmetrictable addresource = new lbmetrictable();
addresource.metrictable = resource.metrictable;
return addresource.add_resource(client);
} | java | public static base_response add(nitro_service client, lbmetrictable resource) throws Exception {
lbmetrictable addresource = new lbmetrictable();
addresource.metrictable = resource.metrictable;
return addresource.add_resource(client);
} | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"lbmetrictable",
"resource",
")",
"throws",
"Exception",
"{",
"lbmetrictable",
"addresource",
"=",
"new",
"lbmetrictable",
"(",
")",
";",
"addresource",
".",
"metrictable",
"=",
"reso... | Use this API to add lbmetrictable. | [
"Use",
"this",
"API",
"to",
"add",
"lbmetrictable",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L148-L152 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.add | public static base_responses add(nitro_service client, lbmetrictable resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
lbmetrictable addresources[] = new lbmetrictable[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = ne... | java | public static base_responses add(nitro_service client, lbmetrictable resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
lbmetrictable addresources[] = new lbmetrictable[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = ne... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"lbmetrictable",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".... | Use this API to add lbmetrictable resources. | [
"Use",
"this",
"API",
"to",
"add",
"lbmetrictable",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L157-L168 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.delete | public static base_response delete(nitro_service client, lbmetrictable resource) throws Exception {
lbmetrictable deleteresource = new lbmetrictable();
deleteresource.metrictable = resource.metrictable;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, lbmetrictable resource) throws Exception {
lbmetrictable deleteresource = new lbmetrictable();
deleteresource.metrictable = resource.metrictable;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"lbmetrictable",
"resource",
")",
"throws",
"Exception",
"{",
"lbmetrictable",
"deleteresource",
"=",
"new",
"lbmetrictable",
"(",
")",
";",
"deleteresource",
".",
"metrictable",
"="... | Use this API to delete lbmetrictable. | [
"Use",
"this",
"API",
"to",
"delete",
"lbmetrictable",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L182-L186 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.delete | public static base_responses delete(nitro_service client, String metrictable[]) throws Exception {
base_responses result = null;
if (metrictable != null && metrictable.length > 0) {
lbmetrictable deleteresources[] = new lbmetrictable[metrictable.length];
for (int i=0;i<metrictable.length;i++){
deleteresou... | java | public static base_responses delete(nitro_service client, String metrictable[]) throws Exception {
base_responses result = null;
if (metrictable != null && metrictable.length > 0) {
lbmetrictable deleteresources[] = new lbmetrictable[metrictable.length];
for (int i=0;i<metrictable.length;i++){
deleteresou... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"metrictable",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"metrictable",
"!=",
"null",
"&&",
"metrictable",
... | Use this API to delete lbmetrictable resources of given names. | [
"Use",
"this",
"API",
"to",
"delete",
"lbmetrictable",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L191-L202 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.update | public static base_response update(nitro_service client, lbmetrictable resource) throws Exception {
lbmetrictable updateresource = new lbmetrictable();
updateresource.metrictable = resource.metrictable;
updateresource.metric = resource.metric;
updateresource.Snmpoid = resource.Snmpoid;
return updateresource.u... | java | public static base_response update(nitro_service client, lbmetrictable resource) throws Exception {
lbmetrictable updateresource = new lbmetrictable();
updateresource.metrictable = resource.metrictable;
updateresource.metric = resource.metric;
updateresource.Snmpoid = resource.Snmpoid;
return updateresource.u... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"lbmetrictable",
"resource",
")",
"throws",
"Exception",
"{",
"lbmetrictable",
"updateresource",
"=",
"new",
"lbmetrictable",
"(",
")",
";",
"updateresource",
".",
"metrictable",
"="... | Use this API to update lbmetrictable. | [
"Use",
"this",
"API",
"to",
"update",
"lbmetrictable",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L223-L229 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.update | public static base_responses update(nitro_service client, lbmetrictable resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
lbmetrictable updateresources[] = new lbmetrictable[resources.length];
for (int i=0;i<resources.length;i++){
updateresource... | java | public static base_responses update(nitro_service client, lbmetrictable resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
lbmetrictable updateresources[] = new lbmetrictable[resources.length];
for (int i=0;i<resources.length;i++){
updateresource... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"lbmetrictable",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to update lbmetrictable resources. | [
"Use",
"this",
"API",
"to",
"update",
"lbmetrictable",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L234-L247 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.get | public static lbmetrictable[] get(nitro_service service) throws Exception{
lbmetrictable obj = new lbmetrictable();
lbmetrictable[] response = (lbmetrictable[])obj.get_resources(service);
return response;
} | java | public static lbmetrictable[] get(nitro_service service) throws Exception{
lbmetrictable obj = new lbmetrictable();
lbmetrictable[] response = (lbmetrictable[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"lbmetrictable",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"lbmetrictable",
"obj",
"=",
"new",
"lbmetrictable",
"(",
")",
";",
"lbmetrictable",
"[",
"]",
"response",
"=",
"(",
"lbmetrictable",
"[",
... | Use this API to fetch all the lbmetrictable resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"lbmetrictable",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L252-L256 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.get | public static lbmetrictable get(nitro_service service, String metrictable) throws Exception{
lbmetrictable obj = new lbmetrictable();
obj.set_metrictable(metrictable);
lbmetrictable response = (lbmetrictable) obj.get_resource(service);
return response;
} | java | public static lbmetrictable get(nitro_service service, String metrictable) throws Exception{
lbmetrictable obj = new lbmetrictable();
obj.set_metrictable(metrictable);
lbmetrictable response = (lbmetrictable) obj.get_resource(service);
return response;
} | [
"public",
"static",
"lbmetrictable",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"metrictable",
")",
"throws",
"Exception",
"{",
"lbmetrictable",
"obj",
"=",
"new",
"lbmetrictable",
"(",
")",
";",
"obj",
".",
"set_metrictable",
"(",
"metrictable",
")"... | Use this API to fetch lbmetrictable resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"lbmetrictable",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L268-L273 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java | lbmetrictable.get | public static lbmetrictable[] get(nitro_service service, String metrictable[]) throws Exception{
if (metrictable !=null && metrictable.length>0) {
lbmetrictable response[] = new lbmetrictable[metrictable.length];
lbmetrictable obj[] = new lbmetrictable[metrictable.length];
for (int i=0;i<metrictable.length;i... | java | public static lbmetrictable[] get(nitro_service service, String metrictable[]) throws Exception{
if (metrictable !=null && metrictable.length>0) {
lbmetrictable response[] = new lbmetrictable[metrictable.length];
lbmetrictable obj[] = new lbmetrictable[metrictable.length];
for (int i=0;i<metrictable.length;i... | [
"public",
"static",
"lbmetrictable",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"metrictable",
"[",
"]",
")",
"throws",
"Exception",
"{",
"if",
"(",
"metrictable",
"!=",
"null",
"&&",
"metrictable",
".",
"length",
">",
"0",
")",
"{",
... | Use this API to fetch lbmetrictable resources of given names . | [
"Use",
"this",
"API",
"to",
"fetch",
"lbmetrictable",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmetrictable.java#L278-L290 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cs/cspolicylabel_binding.java | cspolicylabel_binding.get | public static cspolicylabel_binding get(nitro_service service, String labelname) throws Exception{
cspolicylabel_binding obj = new cspolicylabel_binding();
obj.set_labelname(labelname);
cspolicylabel_binding response = (cspolicylabel_binding) obj.get_resource(service);
return response;
} | java | public static cspolicylabel_binding get(nitro_service service, String labelname) throws Exception{
cspolicylabel_binding obj = new cspolicylabel_binding();
obj.set_labelname(labelname);
cspolicylabel_binding response = (cspolicylabel_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"cspolicylabel_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"labelname",
")",
"throws",
"Exception",
"{",
"cspolicylabel_binding",
"obj",
"=",
"new",
"cspolicylabel_binding",
"(",
")",
";",
"obj",
".",
"set_labelname",
"(",
... | Use this API to fetch cspolicylabel_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"cspolicylabel_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/cspolicylabel_binding.java#L103-L108 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_authenticationcertpolicy_binding.java | vpnvserver_authenticationcertpolicy_binding.get | public static vpnvserver_authenticationcertpolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_authenticationcertpolicy_binding obj = new vpnvserver_authenticationcertpolicy_binding();
obj.set_name(name);
vpnvserver_authenticationcertpolicy_binding response[] = (vpnvserver_authen... | java | public static vpnvserver_authenticationcertpolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_authenticationcertpolicy_binding obj = new vpnvserver_authenticationcertpolicy_binding();
obj.set_name(name);
vpnvserver_authenticationcertpolicy_binding response[] = (vpnvserver_authen... | [
"public",
"static",
"vpnvserver_authenticationcertpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"vpnvserver_authenticationcertpolicy_binding",
"obj",
"=",
"new",
"vpnvserver_authenticationcertpolicy_... | Use this API to fetch vpnvserver_authenticationcertpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vpnvserver_authenticationcertpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_authenticationcertpolicy_binding.java#L326-L331 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_authenticationlocalpolicy_binding.java | vpnglobal_authenticationlocalpolicy_binding.get | public static vpnglobal_authenticationlocalpolicy_binding[] get(nitro_service service) throws Exception{
vpnglobal_authenticationlocalpolicy_binding obj = new vpnglobal_authenticationlocalpolicy_binding();
vpnglobal_authenticationlocalpolicy_binding response[] = (vpnglobal_authenticationlocalpolicy_binding[]) obj.g... | java | public static vpnglobal_authenticationlocalpolicy_binding[] get(nitro_service service) throws Exception{
vpnglobal_authenticationlocalpolicy_binding obj = new vpnglobal_authenticationlocalpolicy_binding();
vpnglobal_authenticationlocalpolicy_binding response[] = (vpnglobal_authenticationlocalpolicy_binding[]) obj.g... | [
"public",
"static",
"vpnglobal_authenticationlocalpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vpnglobal_authenticationlocalpolicy_binding",
"obj",
"=",
"new",
"vpnglobal_authenticationlocalpolicy_binding",
"(",
")",
";"... | Use this API to fetch a vpnglobal_authenticationlocalpolicy_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"vpnglobal_authenticationlocalpolicy_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_authenticationlocalpolicy_binding.java#L225-L229 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/rewrite/rewritepolicy_binding.java | rewritepolicy_binding.get | public static rewritepolicy_binding get(nitro_service service, String name) throws Exception{
rewritepolicy_binding obj = new rewritepolicy_binding();
obj.set_name(name);
rewritepolicy_binding response = (rewritepolicy_binding) obj.get_resource(service);
return response;
} | java | public static rewritepolicy_binding get(nitro_service service, String name) throws Exception{
rewritepolicy_binding obj = new rewritepolicy_binding();
obj.set_name(name);
rewritepolicy_binding response = (rewritepolicy_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"rewritepolicy_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"rewritepolicy_binding",
"obj",
"=",
"new",
"rewritepolicy_binding",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
... | Use this API to fetch rewritepolicy_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"rewritepolicy_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/rewrite/rewritepolicy_binding.java#L136-L141 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/network/Interface_stats.java | Interface_stats.get | public static Interface_stats[] get(nitro_service service) throws Exception{
Interface_stats obj = new Interface_stats();
Interface_stats[] response = (Interface_stats[])obj.stat_resources(service);
return response;
} | java | public static Interface_stats[] get(nitro_service service) throws Exception{
Interface_stats obj = new Interface_stats();
Interface_stats[] response = (Interface_stats[])obj.stat_resources(service);
return response;
} | [
"public",
"static",
"Interface_stats",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"Interface_stats",
"obj",
"=",
"new",
"Interface_stats",
"(",
")",
";",
"Interface_stats",
"[",
"]",
"response",
"=",
"(",
"Interface_stats"... | Use this API to fetch the statistics of all Interface_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"Interface_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/Interface_stats.java#L576-L580 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/network/Interface_stats.java | Interface_stats.get | public static Interface_stats get(nitro_service service, String id) throws Exception{
Interface_stats obj = new Interface_stats();
obj.set_id(id);
Interface_stats response = (Interface_stats) obj.stat_resource(service);
return response;
} | java | public static Interface_stats get(nitro_service service, String id) throws Exception{
Interface_stats obj = new Interface_stats();
obj.set_id(id);
Interface_stats response = (Interface_stats) obj.stat_resource(service);
return response;
} | [
"public",
"static",
"Interface_stats",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"id",
")",
"throws",
"Exception",
"{",
"Interface_stats",
"obj",
"=",
"new",
"Interface_stats",
"(",
")",
";",
"obj",
".",
"set_id",
"(",
"id",
")",
";",
"Interface... | Use this API to fetch statistics of Interface_stats resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"statistics",
"of",
"Interface_stats",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/Interface_stats.java#L594-L599 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/service_lbmonitor_binding.java | service_lbmonitor_binding.get | public static service_lbmonitor_binding[] get(nitro_service service, String name) throws Exception{
service_lbmonitor_binding obj = new service_lbmonitor_binding();
obj.set_name(name);
service_lbmonitor_binding response[] = (service_lbmonitor_binding[]) obj.get_resources(service);
return response;
} | java | public static service_lbmonitor_binding[] get(nitro_service service, String name) throws Exception{
service_lbmonitor_binding obj = new service_lbmonitor_binding();
obj.set_name(name);
service_lbmonitor_binding response[] = (service_lbmonitor_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"service_lbmonitor_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"service_lbmonitor_binding",
"obj",
"=",
"new",
"service_lbmonitor_binding",
"(",
")",
";",
"obj",
".",
"set_... | Use this API to fetch service_lbmonitor_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"service_lbmonitor_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/service_lbmonitor_binding.java#L385-L390 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/rewrite/rewritepolicy_rewriteglobal_binding.java | rewritepolicy_rewriteglobal_binding.get | public static rewritepolicy_rewriteglobal_binding[] get(nitro_service service, String name) throws Exception{
rewritepolicy_rewriteglobal_binding obj = new rewritepolicy_rewriteglobal_binding();
obj.set_name(name);
rewritepolicy_rewriteglobal_binding response[] = (rewritepolicy_rewriteglobal_binding[]) obj.get_re... | java | public static rewritepolicy_rewriteglobal_binding[] get(nitro_service service, String name) throws Exception{
rewritepolicy_rewriteglobal_binding obj = new rewritepolicy_rewriteglobal_binding();
obj.set_name(name);
rewritepolicy_rewriteglobal_binding response[] = (rewritepolicy_rewriteglobal_binding[]) obj.get_re... | [
"public",
"static",
"rewritepolicy_rewriteglobal_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"rewritepolicy_rewriteglobal_binding",
"obj",
"=",
"new",
"rewritepolicy_rewriteglobal_binding",
"(",
")",
... | Use this API to fetch rewritepolicy_rewriteglobal_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"rewritepolicy_rewriteglobal_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/rewrite/rewritepolicy_rewriteglobal_binding.java#L162-L167 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshostname.java | nshostname.update | public static base_response update(nitro_service client, nshostname resource) throws Exception {
nshostname updateresource = new nshostname();
updateresource.hostname = resource.hostname;
updateresource.ownernode = resource.ownernode;
return updateresource.update_resource(client);
} | java | public static base_response update(nitro_service client, nshostname resource) throws Exception {
nshostname updateresource = new nshostname();
updateresource.hostname = resource.hostname;
updateresource.ownernode = resource.ownernode;
return updateresource.update_resource(client);
} | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"nshostname",
"resource",
")",
"throws",
"Exception",
"{",
"nshostname",
"updateresource",
"=",
"new",
"nshostname",
"(",
")",
";",
"updateresource",
".",
"hostname",
"=",
"resourc... | Use this API to update nshostname. | [
"Use",
"this",
"API",
"to",
"update",
"nshostname",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshostname.java#L124-L129 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshostname.java | nshostname.update | public static base_responses update(nitro_service client, nshostname resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nshostname updateresources[] = new nshostname[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = ne... | java | public static base_responses update(nitro_service client, nshostname resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nshostname updateresources[] = new nshostname[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = ne... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"nshostname",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".... | Use this API to update nshostname resources. | [
"Use",
"this",
"API",
"to",
"update",
"nshostname",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshostname.java#L134-L146 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshostname.java | nshostname.get | public static nshostname[] get(nitro_service service, options option) throws Exception{
nshostname obj = new nshostname();
nshostname[] response = (nshostname[])obj.get_resources(service,option);
return response;
} | java | public static nshostname[] get(nitro_service service, options option) throws Exception{
nshostname obj = new nshostname();
nshostname[] response = (nshostname[])obj.get_resources(service,option);
return response;
} | [
"public",
"static",
"nshostname",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"options",
"option",
")",
"throws",
"Exception",
"{",
"nshostname",
"obj",
"=",
"new",
"nshostname",
"(",
")",
";",
"nshostname",
"[",
"]",
"response",
"=",
"(",
"nsho... | Use this API to fetch all the nshostname resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"nshostname",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nshostname.java#L159-L163 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy_aaauser_binding.java | tmsessionpolicy_aaauser_binding.get | public static tmsessionpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{
tmsessionpolicy_aaauser_binding obj = new tmsessionpolicy_aaauser_binding();
obj.set_name(name);
tmsessionpolicy_aaauser_binding response[] = (tmsessionpolicy_aaauser_binding[]) obj.get_resources(service);
... | java | public static tmsessionpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{
tmsessionpolicy_aaauser_binding obj = new tmsessionpolicy_aaauser_binding();
obj.set_name(name);
tmsessionpolicy_aaauser_binding response[] = (tmsessionpolicy_aaauser_binding[]) obj.get_resources(service);
... | [
"public",
"static",
"tmsessionpolicy_aaauser_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"tmsessionpolicy_aaauser_binding",
"obj",
"=",
"new",
"tmsessionpolicy_aaauser_binding",
"(",
")",
";",
"ob... | Use this API to fetch tmsessionpolicy_aaauser_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"tmsessionpolicy_aaauser_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy_aaauser_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationtacacspolicy_binding.java | authenticationtacacspolicy_binding.get | public static authenticationtacacspolicy_binding get(nitro_service service, String name) throws Exception{
authenticationtacacspolicy_binding obj = new authenticationtacacspolicy_binding();
obj.set_name(name);
authenticationtacacspolicy_binding response = (authenticationtacacspolicy_binding) obj.get_resource(serv... | java | public static authenticationtacacspolicy_binding get(nitro_service service, String name) throws Exception{
authenticationtacacspolicy_binding obj = new authenticationtacacspolicy_binding();
obj.set_name(name);
authenticationtacacspolicy_binding response = (authenticationtacacspolicy_binding) obj.get_resource(serv... | [
"public",
"static",
"authenticationtacacspolicy_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authenticationtacacspolicy_binding",
"obj",
"=",
"new",
"authenticationtacacspolicy_binding",
"(",
")",
";",
"obj",
... | Use this API to fetch authenticationtacacspolicy_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authenticationtacacspolicy_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationtacacspolicy_binding.java#L136-L141 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/trees/TreeFunctions.java | TreeFunctions.main | public static void main(String[] args) {
//TreeFactory tf = new LabeledScoredTreeFactory();
Tree stringyTree = null;
try {
stringyTree = (new PennTreeReader(new StringReader("(S (VP (VBZ Try) (NP (DT this))) (. .))"), new LabeledScoredTreeFactory(new StringLabelFactory()))).readTree();
} catc... | java | public static void main(String[] args) {
//TreeFactory tf = new LabeledScoredTreeFactory();
Tree stringyTree = null;
try {
stringyTree = (new PennTreeReader(new StringReader("(S (VP (VBZ Try) (NP (DT this))) (. .))"), new LabeledScoredTreeFactory(new StringLabelFactory()))).readTree();
} catc... | [
"public",
"static",
"void",
"main",
"(",
"String",
"[",
"]",
"args",
")",
"{",
"//TreeFactory tf = new LabeledScoredTreeFactory();\r",
"Tree",
"stringyTree",
"=",
"null",
";",
"try",
"{",
"stringyTree",
"=",
"(",
"new",
"PennTreeReader",
"(",
"new",
"StringReader"... | This method just tests the functionality of the included transformers. | [
"This",
"method",
"just",
"tests",
"the",
"functionality",
"of",
"the",
"included",
"transformers",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/TreeFunctions.java#L156-L175 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/trees/NPTmpRetainingTreeNormalizer.java | NPTmpRetainingTreeNormalizer.cleanUpLabel | @Override
protected String cleanUpLabel(String label) {
if (label == null) {
return "ROOT";
// String constants are always interned
} else if (leaveItAll == 1) {
return tlp.categoryAndFunction(label);
} else if (leaveItAll == 2) {
return label;
} else {
boolean ... | java | @Override
protected String cleanUpLabel(String label) {
if (label == null) {
return "ROOT";
// String constants are always interned
} else if (leaveItAll == 1) {
return tlp.categoryAndFunction(label);
} else if (leaveItAll == 2) {
return label;
} else {
boolean ... | [
"@",
"Override",
"protected",
"String",
"cleanUpLabel",
"(",
"String",
"label",
")",
"{",
"if",
"(",
"label",
"==",
"null",
")",
"{",
"return",
"\"ROOT\"",
";",
"// String constants are always interned\r",
"}",
"else",
"if",
"(",
"leaveItAll",
"==",
"1",
")",
... | Remove things like hyphened functional tags and equals from the
end of a node label. | [
"Remove",
"things",
"like",
"hyphened",
"functional",
"tags",
"and",
"equals",
"from",
"the",
"end",
"of",
"a",
"node",
"label",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/NPTmpRetainingTreeNormalizer.java#L135-L169 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/trees/NPTmpRetainingTreeNormalizer.java | NPTmpRetainingTreeNormalizer.addTMP9 | private void addTMP9(final Tree tree) {
// do the head chain under it
Tree ht = headFinder.determineHead(tree);
// special fix for possessives! -- make noun before head
if (ht.value().equals("POS")) {
int j = tree.indexOf(ht);
if (j > 0) {
ht = tree.getChild(j - 1);
}
... | java | private void addTMP9(final Tree tree) {
// do the head chain under it
Tree ht = headFinder.determineHead(tree);
// special fix for possessives! -- make noun before head
if (ht.value().equals("POS")) {
int j = tree.indexOf(ht);
if (j > 0) {
ht = tree.getChild(j - 1);
}
... | [
"private",
"void",
"addTMP9",
"(",
"final",
"Tree",
"tree",
")",
"{",
"// do the head chain under it\r",
"Tree",
"ht",
"=",
"headFinder",
".",
"determineHead",
"(",
"tree",
")",
";",
"// special fix for possessives! -- make noun before head\r",
"if",
"(",
"ht",
".",
... | Add -TMP when not present within an NP
@param tree The tree to add temporal info to. | [
"Add",
"-",
"TMP",
"when",
"not",
"present",
"within",
"an",
"NP"
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/NPTmpRetainingTreeNormalizer.java#L490-L540 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicylabel_stats.java | transformpolicylabel_stats.get | public static transformpolicylabel_stats[] get(nitro_service service) throws Exception{
transformpolicylabel_stats obj = new transformpolicylabel_stats();
transformpolicylabel_stats[] response = (transformpolicylabel_stats[])obj.stat_resources(service);
return response;
} | java | public static transformpolicylabel_stats[] get(nitro_service service) throws Exception{
transformpolicylabel_stats obj = new transformpolicylabel_stats();
transformpolicylabel_stats[] response = (transformpolicylabel_stats[])obj.stat_resources(service);
return response;
} | [
"public",
"static",
"transformpolicylabel_stats",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"transformpolicylabel_stats",
"obj",
"=",
"new",
"transformpolicylabel_stats",
"(",
")",
";",
"transformpolicylabel_stats",
"[",
"]",
"... | Use this API to fetch the statistics of all transformpolicylabel_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"transformpolicylabel_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicylabel_stats.java#L131-L135 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicylabel_stats.java | transformpolicylabel_stats.get | public static transformpolicylabel_stats get(nitro_service service, String labelname) throws Exception{
transformpolicylabel_stats obj = new transformpolicylabel_stats();
obj.set_labelname(labelname);
transformpolicylabel_stats response = (transformpolicylabel_stats) obj.stat_resource(service);
return response;... | java | public static transformpolicylabel_stats get(nitro_service service, String labelname) throws Exception{
transformpolicylabel_stats obj = new transformpolicylabel_stats();
obj.set_labelname(labelname);
transformpolicylabel_stats response = (transformpolicylabel_stats) obj.stat_resource(service);
return response;... | [
"public",
"static",
"transformpolicylabel_stats",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"labelname",
")",
"throws",
"Exception",
"{",
"transformpolicylabel_stats",
"obj",
"=",
"new",
"transformpolicylabel_stats",
"(",
")",
";",
"obj",
".",
"set_labeln... | Use this API to fetch statistics of transformpolicylabel_stats resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"statistics",
"of",
"transformpolicylabel_stats",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicylabel_stats.java#L149-L154 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/token/MtasTokenCollection.java | MtasTokenCollection.makeUnique | private void makeUnique() {
HashMap<String, ArrayList<MtasToken>> currentPositionTokens = new HashMap<>();
ArrayList<MtasToken> currentValueTokens;
int currentStartPosition = -1;
MtasToken currentToken = null;
for (Entry<Integer, MtasToken> entry : tokenCollection.entrySet()) {
currentToken = ... | java | private void makeUnique() {
HashMap<String, ArrayList<MtasToken>> currentPositionTokens = new HashMap<>();
ArrayList<MtasToken> currentValueTokens;
int currentStartPosition = -1;
MtasToken currentToken = null;
for (Entry<Integer, MtasToken> entry : tokenCollection.entrySet()) {
currentToken = ... | [
"private",
"void",
"makeUnique",
"(",
")",
"{",
"HashMap",
"<",
"String",
",",
"ArrayList",
"<",
"MtasToken",
">",
">",
"currentPositionTokens",
"=",
"new",
"HashMap",
"<>",
"(",
")",
";",
"ArrayList",
"<",
"MtasToken",
">",
"currentValueTokens",
";",
"int",... | Make unique. | [
"Make",
"unique",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/token/MtasTokenCollection.java#L192-L215 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/token/MtasTokenCollection.java | MtasTokenCollection.checkTokenCollectionIndex | private void checkTokenCollectionIndex() throws MtasParserException {
if (tokenCollectionIndex.size() != tokenCollection.size()) {
MtasToken token;
Integer maxId = null;
Integer minId = null;
tokenCollectionIndex.clear();
for (Entry<Integer, MtasToken> entry : tokenCollection.entrySet(... | java | private void checkTokenCollectionIndex() throws MtasParserException {
if (tokenCollectionIndex.size() != tokenCollection.size()) {
MtasToken token;
Integer maxId = null;
Integer minId = null;
tokenCollectionIndex.clear();
for (Entry<Integer, MtasToken> entry : tokenCollection.entrySet(... | [
"private",
"void",
"checkTokenCollectionIndex",
"(",
")",
"throws",
"MtasParserException",
"{",
"if",
"(",
"tokenCollectionIndex",
".",
"size",
"(",
")",
"!=",
"tokenCollection",
".",
"size",
"(",
")",
")",
"{",
"MtasToken",
"token",
";",
"Integer",
"maxId",
"... | Check token collection index.
@throws MtasParserException the mtas parser exception | [
"Check",
"token",
"collection",
"index",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/token/MtasTokenCollection.java#L298-L341 | train |
meertensinstituut/mtas | src/main/java/mtas/analysis/token/MtasTokenCollection.java | MtasTokenCollection.getCompByName | public Comparator<Integer> getCompByName() {
return new Comparator<Integer>() {
@Override
public int compare(Integer t1, Integer t2) {
Integer p1 = tokenCollection.get(t1).getPositionStart();
Integer p2 = tokenCollection.get(t2).getPositionStart();
assert p1 != null : "no positio... | java | public Comparator<Integer> getCompByName() {
return new Comparator<Integer>() {
@Override
public int compare(Integer t1, Integer t2) {
Integer p1 = tokenCollection.get(t1).getPositionStart();
Integer p2 = tokenCollection.get(t2).getPositionStart();
assert p1 != null : "no positio... | [
"public",
"Comparator",
"<",
"Integer",
">",
"getCompByName",
"(",
")",
"{",
"return",
"new",
"Comparator",
"<",
"Integer",
">",
"(",
")",
"{",
"@",
"Override",
"public",
"int",
"compare",
"(",
"Integer",
"t1",
",",
"Integer",
"t2",
")",
"{",
"Integer",
... | Gets the comp by name.
@return the comp by name | [
"Gets",
"the",
"comp",
"by",
"name",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/token/MtasTokenCollection.java#L348-L374 | train |
meertensinstituut/mtas | src/main/java/mtas/solr/handler/util/MtasSolrBaseList.java | MtasSolrBaseList.updateKey | public final void updateKey(String key) throws IOException {
Objects.requireNonNull(key, "old key required");
if (index.containsKey(key)) {
MtasSolrStatus status = index.get(key);
index.remove(key);
if (!index.containsKey(status.key())) {
index.put(status.key(), status);
} else {... | java | public final void updateKey(String key) throws IOException {
Objects.requireNonNull(key, "old key required");
if (index.containsKey(key)) {
MtasSolrStatus status = index.get(key);
index.remove(key);
if (!index.containsKey(status.key())) {
index.put(status.key(), status);
} else {... | [
"public",
"final",
"void",
"updateKey",
"(",
"String",
"key",
")",
"throws",
"IOException",
"{",
"Objects",
".",
"requireNonNull",
"(",
"key",
",",
"\"old key required\"",
")",
";",
"if",
"(",
"index",
".",
"containsKey",
"(",
"key",
")",
")",
"{",
"MtasSo... | Update key.
@param key
the key
@throws IOException
Signals that an I/O exception has occurred. | [
"Update",
"key",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/util/MtasSolrBaseList.java#L128-L139 | train |
meertensinstituut/mtas | src/main/java/mtas/solr/handler/util/MtasSolrBaseList.java | MtasSolrBaseList.createListOutput | public SimpleOrderedMap<Object> createListOutput(boolean shardRequests, int maxNumber) {
garbageCollect();
SimpleOrderedMap<Object> output = new SimpleOrderedMap<>();
output.add(NAME_ENABLED, enabled());
output.add(NAME_ENABLED, true);
int numberTotal = data.size();
ListData listData = new ListD... | java | public SimpleOrderedMap<Object> createListOutput(boolean shardRequests, int maxNumber) {
garbageCollect();
SimpleOrderedMap<Object> output = new SimpleOrderedMap<>();
output.add(NAME_ENABLED, enabled());
output.add(NAME_ENABLED, true);
int numberTotal = data.size();
ListData listData = new ListD... | [
"public",
"SimpleOrderedMap",
"<",
"Object",
">",
"createListOutput",
"(",
"boolean",
"shardRequests",
",",
"int",
"maxNumber",
")",
"{",
"garbageCollect",
"(",
")",
";",
"SimpleOrderedMap",
"<",
"Object",
">",
"output",
"=",
"new",
"SimpleOrderedMap",
"<>",
"("... | Creates the list output.
@param shardRequests the shard requests
@param maxNumber the max number
@return the simple ordered map | [
"Creates",
"the",
"list",
"output",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/util/MtasSolrBaseList.java#L170-L202 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficpolicy_binding.java | tmtrafficpolicy_binding.get | public static tmtrafficpolicy_binding get(nitro_service service, String name) throws Exception{
tmtrafficpolicy_binding obj = new tmtrafficpolicy_binding();
obj.set_name(name);
tmtrafficpolicy_binding response = (tmtrafficpolicy_binding) obj.get_resource(service);
return response;
} | java | public static tmtrafficpolicy_binding get(nitro_service service, String name) throws Exception{
tmtrafficpolicy_binding obj = new tmtrafficpolicy_binding();
obj.set_name(name);
tmtrafficpolicy_binding response = (tmtrafficpolicy_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"tmtrafficpolicy_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"tmtrafficpolicy_binding",
"obj",
"=",
"new",
"tmtrafficpolicy_binding",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"nam... | Use this API to fetch tmtrafficpolicy_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"tmtrafficpolicy_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficpolicy_binding.java#L125-L130 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsglobal_dnspolicy_binding.java | dnsglobal_dnspolicy_binding.get | public static dnsglobal_dnspolicy_binding[] get(nitro_service service) throws Exception{
dnsglobal_dnspolicy_binding obj = new dnsglobal_dnspolicy_binding();
dnsglobal_dnspolicy_binding response[] = (dnsglobal_dnspolicy_binding[]) obj.get_resources(service);
return response;
} | java | public static dnsglobal_dnspolicy_binding[] get(nitro_service service) throws Exception{
dnsglobal_dnspolicy_binding obj = new dnsglobal_dnspolicy_binding();
dnsglobal_dnspolicy_binding response[] = (dnsglobal_dnspolicy_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"dnsglobal_dnspolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"dnsglobal_dnspolicy_binding",
"obj",
"=",
"new",
"dnsglobal_dnspolicy_binding",
"(",
")",
";",
"dnsglobal_dnspolicy_binding",
"response",... | Use this API to fetch a dnsglobal_dnspolicy_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"dnsglobal_dnspolicy_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsglobal_dnspolicy_binding.java#L319-L323 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicy_binding.java | dnspolicy_binding.get | public static dnspolicy_binding get(nitro_service service, String name) throws Exception{
dnspolicy_binding obj = new dnspolicy_binding();
obj.set_name(name);
dnspolicy_binding response = (dnspolicy_binding) obj.get_resource(service);
return response;
} | java | public static dnspolicy_binding get(nitro_service service, String name) throws Exception{
dnspolicy_binding obj = new dnspolicy_binding();
obj.set_name(name);
dnspolicy_binding response = (dnspolicy_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"dnspolicy_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"dnspolicy_binding",
"obj",
"=",
"new",
"dnspolicy_binding",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
... | Use this API to fetch dnspolicy_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"dnspolicy_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicy_binding.java#L114-L119 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbservice_lbmonitor_binding.java | gslbservice_lbmonitor_binding.get | public static gslbservice_lbmonitor_binding[] get(nitro_service service, String servicename) throws Exception{
gslbservice_lbmonitor_binding obj = new gslbservice_lbmonitor_binding();
obj.set_servicename(servicename);
gslbservice_lbmonitor_binding response[] = (gslbservice_lbmonitor_binding[]) obj.get_resources(s... | java | public static gslbservice_lbmonitor_binding[] get(nitro_service service, String servicename) throws Exception{
gslbservice_lbmonitor_binding obj = new gslbservice_lbmonitor_binding();
obj.set_servicename(servicename);
gslbservice_lbmonitor_binding response[] = (gslbservice_lbmonitor_binding[]) obj.get_resources(s... | [
"public",
"static",
"gslbservice_lbmonitor_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"servicename",
")",
"throws",
"Exception",
"{",
"gslbservice_lbmonitor_binding",
"obj",
"=",
"new",
"gslbservice_lbmonitor_binding",
"(",
")",
";",
"o... | Use this API to fetch gslbservice_lbmonitor_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"gslbservice_lbmonitor_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbservice_lbmonitor_binding.java#L315-L320 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java | nstcpprofile.add | public static base_response add(nitro_service client, nstcpprofile resource) throws Exception {
nstcpprofile addresource = new nstcpprofile();
addresource.name = resource.name;
addresource.ws = resource.ws;
addresource.sack = resource.sack;
addresource.wsval = resource.wsval;
addresource.nagle = resource.na... | java | public static base_response add(nitro_service client, nstcpprofile resource) throws Exception {
nstcpprofile addresource = new nstcpprofile();
addresource.name = resource.name;
addresource.ws = resource.ws;
addresource.sack = resource.sack;
addresource.wsval = resource.wsval;
addresource.nagle = resource.na... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"nstcpprofile",
"resource",
")",
"throws",
"Exception",
"{",
"nstcpprofile",
"addresource",
"=",
"new",
"nstcpprofile",
"(",
")",
";",
"addresource",
".",
"name",
"=",
"resource",
"... | Use this API to add nstcpprofile. | [
"Use",
"this",
"API",
"to",
"add",
"nstcpprofile",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java#L744-L774 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java | nstcpprofile.update | public static base_response update(nitro_service client, nstcpprofile resource) throws Exception {
nstcpprofile updateresource = new nstcpprofile();
updateresource.name = resource.name;
updateresource.ws = resource.ws;
updateresource.sack = resource.sack;
updateresource.wsval = resource.wsval;
updateresourc... | java | public static base_response update(nitro_service client, nstcpprofile resource) throws Exception {
nstcpprofile updateresource = new nstcpprofile();
updateresource.name = resource.name;
updateresource.ws = resource.ws;
updateresource.sack = resource.sack;
updateresource.wsval = resource.wsval;
updateresourc... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"nstcpprofile",
"resource",
")",
"throws",
"Exception",
"{",
"nstcpprofile",
"updateresource",
"=",
"new",
"nstcpprofile",
"(",
")",
";",
"updateresource",
".",
"name",
"=",
"resou... | Use this API to update nstcpprofile. | [
"Use",
"this",
"API",
"to",
"update",
"nstcpprofile",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java#L871-L901 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java | nstcpprofile.update | public static base_responses update(nitro_service client, nstcpprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nstcpprofile updateresources[] = new nstcpprofile[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i... | java | public static base_responses update(nitro_service client, nstcpprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nstcpprofile updateresources[] = new nstcpprofile[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"nstcpprofile",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to update nstcpprofile resources. | [
"Use",
"this",
"API",
"to",
"update",
"nstcpprofile",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java#L906-L943 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java | nstcpprofile.get | public static nstcpprofile[] get(nitro_service service) throws Exception{
nstcpprofile obj = new nstcpprofile();
nstcpprofile[] response = (nstcpprofile[])obj.get_resources(service);
return response;
} | java | public static nstcpprofile[] get(nitro_service service) throws Exception{
nstcpprofile obj = new nstcpprofile();
nstcpprofile[] response = (nstcpprofile[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"nstcpprofile",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"nstcpprofile",
"obj",
"=",
"new",
"nstcpprofile",
"(",
")",
";",
"nstcpprofile",
"[",
"]",
"response",
"=",
"(",
"nstcpprofile",
"[",
"]",... | Use this API to fetch all the nstcpprofile resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"nstcpprofile",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java#L992-L996 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java | nstcpprofile.get | public static nstcpprofile get(nitro_service service, String name) throws Exception{
nstcpprofile obj = new nstcpprofile();
obj.set_name(name);
nstcpprofile response = (nstcpprofile) obj.get_resource(service);
return response;
} | java | public static nstcpprofile get(nitro_service service, String name) throws Exception{
nstcpprofile obj = new nstcpprofile();
obj.set_name(name);
nstcpprofile response = (nstcpprofile) obj.get_resource(service);
return response;
} | [
"public",
"static",
"nstcpprofile",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"nstcpprofile",
"obj",
"=",
"new",
"nstcpprofile",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"nstcpprofile... | Use this API to fetch nstcpprofile resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"nstcpprofile",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstcpprofile.java#L1008-L1013 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformglobal_transformpolicy_binding.java | transformglobal_transformpolicy_binding.get | public static transformglobal_transformpolicy_binding[] get(nitro_service service) throws Exception{
transformglobal_transformpolicy_binding obj = new transformglobal_transformpolicy_binding();
transformglobal_transformpolicy_binding response[] = (transformglobal_transformpolicy_binding[]) obj.get_resources(service... | java | public static transformglobal_transformpolicy_binding[] get(nitro_service service) throws Exception{
transformglobal_transformpolicy_binding obj = new transformglobal_transformpolicy_binding();
transformglobal_transformpolicy_binding response[] = (transformglobal_transformpolicy_binding[]) obj.get_resources(service... | [
"public",
"static",
"transformglobal_transformpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"transformglobal_transformpolicy_binding",
"obj",
"=",
"new",
"transformglobal_transformpolicy_binding",
"(",
")",
";",
"transfo... | Use this API to fetch a transformglobal_transformpolicy_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"transformglobal_transformpolicy_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformglobal_transformpolicy_binding.java#L309-L313 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/network/bridge_stats.java | bridge_stats.get | public static bridge_stats get(nitro_service service) throws Exception{
bridge_stats obj = new bridge_stats();
bridge_stats[] response = (bridge_stats[])obj.stat_resources(service);
return response[0];
} | java | public static bridge_stats get(nitro_service service) throws Exception{
bridge_stats obj = new bridge_stats();
bridge_stats[] response = (bridge_stats[])obj.stat_resources(service);
return response[0];
} | [
"public",
"static",
"bridge_stats",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"bridge_stats",
"obj",
"=",
"new",
"bridge_stats",
"(",
")",
";",
"bridge_stats",
"[",
"]",
"response",
"=",
"(",
"bridge_stats",
"[",
"]",
")",
"obj... | Use this API to fetch the statistics of all bridge_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"bridge_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/bridge_stats.java#L194-L198 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systementity.java | systementity.get | public static systementity[] get(nitro_service service, systementity_args args) throws Exception{
systementity obj = new systementity();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
systementity[] response = (systementity[])obj.get_resources(service, option);... | java | public static systementity[] get(nitro_service service, systementity_args args) throws Exception{
systementity obj = new systementity();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
systementity[] response = (systementity[])obj.get_resources(service, option);... | [
"public",
"static",
"systementity",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"systementity_args",
"args",
")",
"throws",
"Exception",
"{",
"systementity",
"obj",
"=",
"new",
"systementity",
"(",
")",
";",
"options",
"option",
"=",
"new",
"options... | Use this API to fetch all the systementity resources that are configured on netscaler.
This uses systementity_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"systementity",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"systementity_args",
"which",
"is",
"a",
"way",
"to",
"provide",
"additional",
"arguments",
"while",
"fetching",
... | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systementity.java#L165-L171 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_vpnclientlessaccesspolicy_binding.java | vpnglobal_vpnclientlessaccesspolicy_binding.get | public static vpnglobal_vpnclientlessaccesspolicy_binding[] get(nitro_service service) throws Exception{
vpnglobal_vpnclientlessaccesspolicy_binding obj = new vpnglobal_vpnclientlessaccesspolicy_binding();
vpnglobal_vpnclientlessaccesspolicy_binding response[] = (vpnglobal_vpnclientlessaccesspolicy_binding[]) obj.g... | java | public static vpnglobal_vpnclientlessaccesspolicy_binding[] get(nitro_service service) throws Exception{
vpnglobal_vpnclientlessaccesspolicy_binding obj = new vpnglobal_vpnclientlessaccesspolicy_binding();
vpnglobal_vpnclientlessaccesspolicy_binding response[] = (vpnglobal_vpnclientlessaccesspolicy_binding[]) obj.g... | [
"public",
"static",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"obj",
"=",
"new",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"(",
")",
";"... | Use this API to fetch a vpnglobal_vpnclientlessaccesspolicy_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_vpnclientlessaccesspolicy_binding.java#L254-L258 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_vpnclientlessaccesspolicy_binding.java | vpnglobal_vpnclientlessaccesspolicy_binding.get_filtered | public static vpnglobal_vpnclientlessaccesspolicy_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
vpnglobal_vpnclientlessaccesspolicy_binding obj = new vpnglobal_vpnclientlessaccesspolicy_binding();
options option = new options();
option.set_filter(filter);
vpnglobal_vpncli... | java | public static vpnglobal_vpnclientlessaccesspolicy_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
vpnglobal_vpnclientlessaccesspolicy_binding obj = new vpnglobal_vpnclientlessaccesspolicy_binding();
options option = new options();
option.set_filter(filter);
vpnglobal_vpncli... | [
"public",
"static",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"[",
"]",
"get_filtered",
"(",
"nitro_service",
"service",
",",
"filtervalue",
"[",
"]",
"filter",
")",
"throws",
"Exception",
"{",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"obj",
"=",
"new",
"vpnglo... | Use this API to fetch filtered set of vpnglobal_vpnclientlessaccesspolicy_binding resources.
set the filter parameter values in filtervalue object. | [
"Use",
"this",
"API",
"to",
"fetch",
"filtered",
"set",
"of",
"vpnglobal_vpnclientlessaccesspolicy_binding",
"resources",
".",
"set",
"the",
"filter",
"parameter",
"values",
"in",
"filtervalue",
"object",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_vpnclientlessaccesspolicy_binding.java#L276-L282 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid_interface_binding.java | vrid_interface_binding.get | public static vrid_interface_binding[] get(nitro_service service, Long id) throws Exception{
vrid_interface_binding obj = new vrid_interface_binding();
obj.set_id(id);
vrid_interface_binding response[] = (vrid_interface_binding[]) obj.get_resources(service);
return response;
} | java | public static vrid_interface_binding[] get(nitro_service service, Long id) throws Exception{
vrid_interface_binding obj = new vrid_interface_binding();
obj.set_id(id);
vrid_interface_binding response[] = (vrid_interface_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"vrid_interface_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"Long",
"id",
")",
"throws",
"Exception",
"{",
"vrid_interface_binding",
"obj",
"=",
"new",
"vrid_interface_binding",
"(",
")",
";",
"obj",
".",
"set_id",
"(",
... | Use this API to fetch vrid_interface_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vrid_interface_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid_interface_binding.java#L205-L210 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/trees/CoordinationTransformer.java | CoordinationTransformer.CCtransform | public static Tree CCtransform(Tree t) {
boolean notDone = true;
while (notDone) {
Tree cc = findCCparent(t, t);
if (cc != null) {
t = cc;
} else {
notDone = false;
}
}
return t;
} | java | public static Tree CCtransform(Tree t) {
boolean notDone = true;
while (notDone) {
Tree cc = findCCparent(t, t);
if (cc != null) {
t = cc;
} else {
notDone = false;
}
}
return t;
} | [
"public",
"static",
"Tree",
"CCtransform",
"(",
"Tree",
"t",
")",
"{",
"boolean",
"notDone",
"=",
"true",
";",
"while",
"(",
"notDone",
")",
"{",
"Tree",
"cc",
"=",
"findCCparent",
"(",
"t",
",",
"t",
")",
";",
"if",
"(",
"cc",
"!=",
"null",
")",
... | Transforms t if it contains a coordination in a flat structure
@param t a tree to be transformed
@return t transformed (give t not null, return will not be null) | [
"Transforms",
"t",
"if",
"it",
"contains",
"a",
"coordination",
"in",
"a",
"flat",
"structure"
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/CoordinationTransformer.java#L127-L138 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_authenticationtacacspolicy_binding.java | vpnvserver_authenticationtacacspolicy_binding.get | public static vpnvserver_authenticationtacacspolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_authenticationtacacspolicy_binding obj = new vpnvserver_authenticationtacacspolicy_binding();
obj.set_name(name);
vpnvserver_authenticationtacacspolicy_binding response[] = (vpnvserve... | java | public static vpnvserver_authenticationtacacspolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_authenticationtacacspolicy_binding obj = new vpnvserver_authenticationtacacspolicy_binding();
obj.set_name(name);
vpnvserver_authenticationtacacspolicy_binding response[] = (vpnvserve... | [
"public",
"static",
"vpnvserver_authenticationtacacspolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"vpnvserver_authenticationtacacspolicy_binding",
"obj",
"=",
"new",
"vpnvserver_authenticationtacacsp... | Use this API to fetch vpnvserver_authenticationtacacspolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vpnvserver_authenticationtacacspolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_authenticationtacacspolicy_binding.java#L326-L331 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java | ipsecprofile.add | public static base_response add(nitro_service client, ipsecprofile resource) throws Exception {
ipsecprofile addresource = new ipsecprofile();
addresource.name = resource.name;
addresource.ikeversion = resource.ikeversion;
addresource.encalgo = resource.encalgo;
addresource.hashalgo = resource.hashalgo;
add... | java | public static base_response add(nitro_service client, ipsecprofile resource) throws Exception {
ipsecprofile addresource = new ipsecprofile();
addresource.name = resource.name;
addresource.ikeversion = resource.ikeversion;
addresource.encalgo = resource.encalgo;
addresource.hashalgo = resource.hashalgo;
add... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"ipsecprofile",
"resource",
")",
"throws",
"Exception",
"{",
"ipsecprofile",
"addresource",
"=",
"new",
"ipsecprofile",
"(",
")",
";",
"addresource",
".",
"name",
"=",
"resource",
"... | Use this API to add ipsecprofile. | [
"Use",
"this",
"API",
"to",
"add",
"ipsecprofile",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java#L379-L395 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java | ipsecprofile.add | public static base_responses add(nitro_service client, ipsecprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
ipsecprofile addresources[] = new ipsecprofile[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new i... | java | public static base_responses add(nitro_service client, ipsecprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
ipsecprofile addresources[] = new ipsecprofile[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new i... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"ipsecprofile",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
"."... | Use this API to add ipsecprofile resources. | [
"Use",
"this",
"API",
"to",
"add",
"ipsecprofile",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java#L400-L423 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java | ipsecprofile.get | public static ipsecprofile[] get(nitro_service service) throws Exception{
ipsecprofile obj = new ipsecprofile();
ipsecprofile[] response = (ipsecprofile[])obj.get_resources(service);
return response;
} | java | public static ipsecprofile[] get(nitro_service service) throws Exception{
ipsecprofile obj = new ipsecprofile();
ipsecprofile[] response = (ipsecprofile[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"ipsecprofile",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"ipsecprofile",
"obj",
"=",
"new",
"ipsecprofile",
"(",
")",
";",
"ipsecprofile",
"[",
"]",
"response",
"=",
"(",
"ipsecprofile",
"[",
"]",... | Use this API to fetch all the ipsecprofile resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"ipsecprofile",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java#L478-L482 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java | ipsecprofile.get | public static ipsecprofile get(nitro_service service, String name) throws Exception{
ipsecprofile obj = new ipsecprofile();
obj.set_name(name);
ipsecprofile response = (ipsecprofile) obj.get_resource(service);
return response;
} | java | public static ipsecprofile get(nitro_service service, String name) throws Exception{
ipsecprofile obj = new ipsecprofile();
obj.set_name(name);
ipsecprofile response = (ipsecprofile) obj.get_resource(service);
return response;
} | [
"public",
"static",
"ipsecprofile",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"ipsecprofile",
"obj",
"=",
"new",
"ipsecprofile",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"ipsecprofile... | Use this API to fetch ipsecprofile resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"ipsecprofile",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ipsec/ipsecprofile.java#L494-L499 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java | authenticationauthnprofile.add | public static base_response add(nitro_service client, authenticationauthnprofile resource) throws Exception {
authenticationauthnprofile addresource = new authenticationauthnprofile();
addresource.name = resource.name;
addresource.authnvsname = resource.authnvsname;
addresource.authenticationhost = resource.aut... | java | public static base_response add(nitro_service client, authenticationauthnprofile resource) throws Exception {
authenticationauthnprofile addresource = new authenticationauthnprofile();
addresource.name = resource.name;
addresource.authnvsname = resource.authnvsname;
addresource.authenticationhost = resource.aut... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"authenticationauthnprofile",
"resource",
")",
"throws",
"Exception",
"{",
"authenticationauthnprofile",
"addresource",
"=",
"new",
"authenticationauthnprofile",
"(",
")",
";",
"addresource",... | Use this API to add authenticationauthnprofile. | [
"Use",
"this",
"API",
"to",
"add",
"authenticationauthnprofile",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java#L180-L188 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java | authenticationauthnprofile.add | public static base_responses add(nitro_service client, authenticationauthnprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
authenticationauthnprofile addresources[] = new authenticationauthnprofile[resources.length];
for (int i=0;i<resource... | java | public static base_responses add(nitro_service client, authenticationauthnprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
authenticationauthnprofile addresources[] = new authenticationauthnprofile[resources.length];
for (int i=0;i<resource... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"authenticationauthnprofile",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"res... | Use this API to add authenticationauthnprofile resources. | [
"Use",
"this",
"API",
"to",
"add",
"authenticationauthnprofile",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java#L193-L208 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java | authenticationauthnprofile.update | public static base_response update(nitro_service client, authenticationauthnprofile resource) throws Exception {
authenticationauthnprofile updateresource = new authenticationauthnprofile();
updateresource.name = resource.name;
updateresource.authnvsname = resource.authnvsname;
updateresource.authenticationhost... | java | public static base_response update(nitro_service client, authenticationauthnprofile resource) throws Exception {
authenticationauthnprofile updateresource = new authenticationauthnprofile();
updateresource.name = resource.name;
updateresource.authnvsname = resource.authnvsname;
updateresource.authenticationhost... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"authenticationauthnprofile",
"resource",
")",
"throws",
"Exception",
"{",
"authenticationauthnprofile",
"updateresource",
"=",
"new",
"authenticationauthnprofile",
"(",
")",
";",
"updater... | Use this API to update authenticationauthnprofile. | [
"Use",
"this",
"API",
"to",
"update",
"authenticationauthnprofile",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java#L263-L271 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java | authenticationauthnprofile.update | public static base_responses update(nitro_service client, authenticationauthnprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
authenticationauthnprofile updateresources[] = new authenticationauthnprofile[resources.length];
for (int i=0;i<re... | java | public static base_responses update(nitro_service client, authenticationauthnprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
authenticationauthnprofile updateresources[] = new authenticationauthnprofile[resources.length];
for (int i=0;i<re... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"authenticationauthnprofile",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"... | Use this API to update authenticationauthnprofile resources. | [
"Use",
"this",
"API",
"to",
"update",
"authenticationauthnprofile",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java#L276-L291 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java | authenticationauthnprofile.get | public static authenticationauthnprofile[] get(nitro_service service) throws Exception{
authenticationauthnprofile obj = new authenticationauthnprofile();
authenticationauthnprofile[] response = (authenticationauthnprofile[])obj.get_resources(service);
return response;
} | java | public static authenticationauthnprofile[] get(nitro_service service) throws Exception{
authenticationauthnprofile obj = new authenticationauthnprofile();
authenticationauthnprofile[] response = (authenticationauthnprofile[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"authenticationauthnprofile",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"authenticationauthnprofile",
"obj",
"=",
"new",
"authenticationauthnprofile",
"(",
")",
";",
"authenticationauthnprofile",
"[",
"]",
"... | Use this API to fetch all the authenticationauthnprofile resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"authenticationauthnprofile",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java#L340-L344 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java | authenticationauthnprofile.get | public static authenticationauthnprofile get(nitro_service service, String name) throws Exception{
authenticationauthnprofile obj = new authenticationauthnprofile();
obj.set_name(name);
authenticationauthnprofile response = (authenticationauthnprofile) obj.get_resource(service);
return response;
} | java | public static authenticationauthnprofile get(nitro_service service, String name) throws Exception{
authenticationauthnprofile obj = new authenticationauthnprofile();
obj.set_name(name);
authenticationauthnprofile response = (authenticationauthnprofile) obj.get_resource(service);
return response;
} | [
"public",
"static",
"authenticationauthnprofile",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authenticationauthnprofile",
"obj",
"=",
"new",
"authenticationauthnprofile",
"(",
")",
";",
"obj",
".",
"set_name",
"(... | Use this API to fetch authenticationauthnprofile resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authenticationauthnprofile",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationauthnprofile.java#L356-L361 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy.java | tmsessionpolicy.get | public static tmsessionpolicy[] get(nitro_service service) throws Exception{
tmsessionpolicy obj = new tmsessionpolicy();
tmsessionpolicy[] response = (tmsessionpolicy[])obj.get_resources(service);
return response;
} | java | public static tmsessionpolicy[] get(nitro_service service) throws Exception{
tmsessionpolicy obj = new tmsessionpolicy();
tmsessionpolicy[] response = (tmsessionpolicy[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"tmsessionpolicy",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"tmsessionpolicy",
"obj",
"=",
"new",
"tmsessionpolicy",
"(",
")",
";",
"tmsessionpolicy",
"[",
"]",
"response",
"=",
"(",
"tmsessionpolicy"... | Use this API to fetch all the tmsessionpolicy resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"tmsessionpolicy",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy.java#L314-L318 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy.java | tmsessionpolicy.get | public static tmsessionpolicy get(nitro_service service, String name) throws Exception{
tmsessionpolicy obj = new tmsessionpolicy();
obj.set_name(name);
tmsessionpolicy response = (tmsessionpolicy) obj.get_resource(service);
return response;
} | java | public static tmsessionpolicy get(nitro_service service, String name) throws Exception{
tmsessionpolicy obj = new tmsessionpolicy();
obj.set_name(name);
tmsessionpolicy response = (tmsessionpolicy) obj.get_resource(service);
return response;
} | [
"public",
"static",
"tmsessionpolicy",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"tmsessionpolicy",
"obj",
"=",
"new",
"tmsessionpolicy",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"tms... | Use this API to fetch tmsessionpolicy resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"tmsessionpolicy",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy.java#L330-L335 | train |
RestComm/cluster | timers/src/main/java/org/restcomm/timers/FaultTolerantScheduler.java | FaultTolerantScheduler.schedule | public void schedule(TimerTask task, boolean checkIfAlreadyPresent) {
final TimerTaskData taskData = task.getData();
final Serializable taskID = taskData.getTaskID();
task.setScheduler(this);
if (logger.isDebugEnabled()) {
logger.debug("Scheduling task with id " + taskID);
}
// store the task a... | java | public void schedule(TimerTask task, boolean checkIfAlreadyPresent) {
final TimerTaskData taskData = task.getData();
final Serializable taskID = taskData.getTaskID();
task.setScheduler(this);
if (logger.isDebugEnabled()) {
logger.debug("Scheduling task with id " + taskID);
}
// store the task a... | [
"public",
"void",
"schedule",
"(",
"TimerTask",
"task",
",",
"boolean",
"checkIfAlreadyPresent",
")",
"{",
"final",
"TimerTaskData",
"taskData",
"=",
"task",
".",
"getData",
"(",
")",
";",
"final",
"Serializable",
"taskID",
"=",
"taskData",
".",
"getTaskID",
"... | Schedules the specified task.
@param task | [
"Schedules",
"the",
"specified",
"task",
"."
] | 46bff5e9ae89528ccc7b43ba50a0de5b96913e6f | https://github.com/RestComm/cluster/blob/46bff5e9ae89528ccc7b43ba50a0de5b96913e6f/timers/src/main/java/org/restcomm/timers/FaultTolerantScheduler.java#L274-L318 | train |
RestComm/cluster | timers/src/main/java/org/restcomm/timers/FaultTolerantScheduler.java | FaultTolerantScheduler.cancel | public TimerTask cancel(Serializable taskID) {
if (logger.isDebugEnabled()) {
logger.debug("Canceling task with timer id "+taskID);
}
TimerTask task = localRunningTasks.get(taskID);
if (task != null) {
// remove task data
new TimerTaskCacheData(taskID, baseFqn, cluster).remove();
final SetTim... | java | public TimerTask cancel(Serializable taskID) {
if (logger.isDebugEnabled()) {
logger.debug("Canceling task with timer id "+taskID);
}
TimerTask task = localRunningTasks.get(taskID);
if (task != null) {
// remove task data
new TimerTaskCacheData(taskID, baseFqn, cluster).remove();
final SetTim... | [
"public",
"TimerTask",
"cancel",
"(",
"Serializable",
"taskID",
")",
"{",
"if",
"(",
"logger",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"logger",
".",
"debug",
"(",
"\"Canceling task with timer id \"",
"+",
"taskID",
")",
";",
"}",
"TimerTask",
"task",
"="... | Cancels a local running task with the specified ID.
@param taskID
@return the task canceled | [
"Cancels",
"a",
"local",
"running",
"task",
"with",
"the",
"specified",
"ID",
"."
] | 46bff5e9ae89528ccc7b43ba50a0de5b96913e6f | https://github.com/RestComm/cluster/blob/46bff5e9ae89528ccc7b43ba50a0de5b96913e6f/timers/src/main/java/org/restcomm/timers/FaultTolerantScheduler.java#L326-L394 | train |
RestComm/cluster | timers/src/main/java/org/restcomm/timers/FaultTolerantScheduler.java | FaultTolerantScheduler.recover | private void recover(TimerTaskData taskData) {
TimerTask task = timerTaskFactory.newTimerTask(taskData);
if(task != null) {
if (logger.isDebugEnabled()) {
logger.debug("Recovering task with id "+taskData.getTaskID());
}
task.beforeRecover();
// on recovery the task will already be in the cache so we... | java | private void recover(TimerTaskData taskData) {
TimerTask task = timerTaskFactory.newTimerTask(taskData);
if(task != null) {
if (logger.isDebugEnabled()) {
logger.debug("Recovering task with id "+taskData.getTaskID());
}
task.beforeRecover();
// on recovery the task will already be in the cache so we... | [
"private",
"void",
"recover",
"(",
"TimerTaskData",
"taskData",
")",
"{",
"TimerTask",
"task",
"=",
"timerTaskFactory",
".",
"newTimerTask",
"(",
"taskData",
")",
";",
"if",
"(",
"task",
"!=",
"null",
")",
"{",
"if",
"(",
"logger",
".",
"isDebugEnabled",
"... | Recovers a timer task that was running in another node.
@param taskData | [
"Recovers",
"a",
"timer",
"task",
"that",
"was",
"running",
"in",
"another",
"node",
"."
] | 46bff5e9ae89528ccc7b43ba50a0de5b96913e6f | https://github.com/RestComm/cluster/blob/46bff5e9ae89528ccc7b43ba50a0de5b96913e6f/timers/src/main/java/org/restcomm/timers/FaultTolerantScheduler.java#L412-L423 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformprofile_binding.java | transformprofile_binding.get | public static transformprofile_binding get(nitro_service service, String name) throws Exception{
transformprofile_binding obj = new transformprofile_binding();
obj.set_name(name);
transformprofile_binding response = (transformprofile_binding) obj.get_resource(service);
return response;
} | java | public static transformprofile_binding get(nitro_service service, String name) throws Exception{
transformprofile_binding obj = new transformprofile_binding();
obj.set_name(name);
transformprofile_binding response = (transformprofile_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"transformprofile_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"transformprofile_binding",
"obj",
"=",
"new",
"transformprofile_binding",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"... | Use this API to fetch transformprofile_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"transformprofile_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformprofile_binding.java#L103-L108 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.add | public static base_response add(nitro_service client, nslimitidentifier resource) throws Exception {
nslimitidentifier addresource = new nslimitidentifier();
addresource.limitidentifier = resource.limitidentifier;
addresource.threshold = resource.threshold;
addresource.timeslice = resource.timeslice;
addresou... | java | public static base_response add(nitro_service client, nslimitidentifier resource) throws Exception {
nslimitidentifier addresource = new nslimitidentifier();
addresource.limitidentifier = resource.limitidentifier;
addresource.threshold = resource.threshold;
addresource.timeslice = resource.timeslice;
addresou... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"nslimitidentifier",
"resource",
")",
"throws",
"Exception",
"{",
"nslimitidentifier",
"addresource",
"=",
"new",
"nslimitidentifier",
"(",
")",
";",
"addresource",
".",
"limitidentifier"... | Use this API to add nslimitidentifier. | [
"Use",
"this",
"API",
"to",
"add",
"nslimitidentifier",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java#L402-L413 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.add | public static base_responses add(nitro_service client, nslimitidentifier resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nslimitidentifier addresources[] = new nslimitidentifier[resources.length];
for (int i=0;i<resources.length;i++){
addresou... | java | public static base_responses add(nitro_service client, nslimitidentifier resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nslimitidentifier addresources[] = new nslimitidentifier[resources.length];
for (int i=0;i<resources.length;i++){
addresou... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"nslimitidentifier",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to add nslimitidentifier resources. | [
"Use",
"this",
"API",
"to",
"add",
"nslimitidentifier",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java#L418-L436 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.delete | public static base_response delete(nitro_service client, String limitidentifier) throws Exception {
nslimitidentifier deleteresource = new nslimitidentifier();
deleteresource.limitidentifier = limitidentifier;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, String limitidentifier) throws Exception {
nslimitidentifier deleteresource = new nslimitidentifier();
deleteresource.limitidentifier = limitidentifier;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"limitidentifier",
")",
"throws",
"Exception",
"{",
"nslimitidentifier",
"deleteresource",
"=",
"new",
"nslimitidentifier",
"(",
")",
";",
"deleteresource",
".",
"limitidenti... | Use this API to delete nslimitidentifier of given name. | [
"Use",
"this",
"API",
"to",
"delete",
"nslimitidentifier",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java#L441-L445 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.delete | public static base_responses delete(nitro_service client, String limitidentifier[]) throws Exception {
base_responses result = null;
if (limitidentifier != null && limitidentifier.length > 0) {
nslimitidentifier deleteresources[] = new nslimitidentifier[limitidentifier.length];
for (int i=0;i<limitidentifier.... | java | public static base_responses delete(nitro_service client, String limitidentifier[]) throws Exception {
base_responses result = null;
if (limitidentifier != null && limitidentifier.length > 0) {
nslimitidentifier deleteresources[] = new nslimitidentifier[limitidentifier.length];
for (int i=0;i<limitidentifier.... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"limitidentifier",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"limitidentifier",
"!=",
"null",
"&&",
"limitide... | Use this API to delete nslimitidentifier resources of given names. | [
"Use",
"this",
"API",
"to",
"delete",
"nslimitidentifier",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java#L459-L470 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.update | public static base_response update(nitro_service client, nslimitidentifier resource) throws Exception {
nslimitidentifier updateresource = new nslimitidentifier();
updateresource.limitidentifier = resource.limitidentifier;
updateresource.threshold = resource.threshold;
updateresource.timeslice = resource.timesl... | java | public static base_response update(nitro_service client, nslimitidentifier resource) throws Exception {
nslimitidentifier updateresource = new nslimitidentifier();
updateresource.limitidentifier = resource.limitidentifier;
updateresource.threshold = resource.threshold;
updateresource.timeslice = resource.timesl... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"nslimitidentifier",
"resource",
")",
"throws",
"Exception",
"{",
"nslimitidentifier",
"updateresource",
"=",
"new",
"nslimitidentifier",
"(",
")",
";",
"updateresource",
".",
"limitid... | Use this API to update nslimitidentifier. | [
"Use",
"this",
"API",
"to",
"update",
"nslimitidentifier",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java#L491-L502 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.update | public static base_responses update(nitro_service client, nslimitidentifier resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nslimitidentifier updateresources[] = new nslimitidentifier[resources.length];
for (int i=0;i<resources.length;i++){
up... | java | public static base_responses update(nitro_service client, nslimitidentifier resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nslimitidentifier updateresources[] = new nslimitidentifier[resources.length];
for (int i=0;i<resources.length;i++){
up... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"nslimitidentifier",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources... | Use this API to update nslimitidentifier resources. | [
"Use",
"this",
"API",
"to",
"update",
"nslimitidentifier",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java#L507-L525 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslimitidentifier.java | nslimitidentifier.unset | public static base_response unset(nitro_service client, nslimitidentifier resource, String[] args) throws Exception{
nslimitidentifier unsetresource = new nslimitidentifier();
unsetresource.limitidentifier = resource.limitidentifier;
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, nslimitidentifier resource, String[] args) throws Exception{
nslimitidentifier unsetresource = new nslimitidentifier();
unsetresource.limitidentifier = resource.limitidentifier;
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"nslimitidentifier",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"nslimitidentifier",
"unsetresource",
"=",
"new",
"nslimitidentifier",
"(",
")",
"... | Use this API to unset the properties of nslimitidentifier resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"nslimitidentifier",
"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/ns/nslimitidentifier.java#L531-L535 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.