idx
int64
0
165k
question
stringlengths
73
5.81k
target
stringlengths
5
918
3,300
public static HashMap < String , MtasConfiguration > readMtasCharFilterConfigurations ( ResourceLoader resourceLoader , String configFile ) throws IOException { HashMap < String , HashMap < String , String > > configs = readConfigurations ( resourceLoader , configFile , MtasCharFilterFactory . class . getName ( ) ) ; i...
Read mtas char filter configurations .
3,301
public static HashMap < String , MtasConfiguration > readMtasTokenizerConfigurations ( ResourceLoader resourceLoader , String configFile ) throws IOException { HashMap < String , HashMap < String , String > > configs = readConfigurations ( resourceLoader , configFile , MtasTokenizerFactory . class . getName ( ) ) ; if ...
Read mtas tokenizer configurations .
3,302
public static MtasConfiguration readConfiguration ( InputStream reader ) throws IOException { MtasConfiguration currentConfig = null ; XMLInputFactory factory = XMLInputFactory . newInstance ( ) ; try { XMLStreamReader streamReader = factory . createXMLStreamReader ( reader ) ; QName qname ; try { int event = streamRea...
Read configuration .
3,303
public static systemcpu_stats [ ] get ( nitro_service service ) throws Exception { systemcpu_stats obj = new systemcpu_stats ( ) ; systemcpu_stats [ ] response = ( systemcpu_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all systemcpu_stats resources that are configured on netscaler .
3,304
public static systemcpu_stats get ( nitro_service service , Long id ) throws Exception { systemcpu_stats obj = new systemcpu_stats ( ) ; obj . set_id ( id ) ; systemcpu_stats response = ( systemcpu_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of systemcpu_stats resource of given name .
3,305
final public TregexPattern Root ( ) throws ParseException { TregexPattern node ; node = SubNode ( Relation . ROOT ) ; jj_consume_token ( 11 ) ; { if ( true ) return node ; } throw new Error ( "Missing return statement in function" ) ; }
first expr is return val - passed up the tree after a production
3,306
final public TregexPattern Node ( Relation r ) throws ParseException { TregexPattern node ; switch ( ( jj_ntk == - 1 ) ? jj_ntk ( ) : jj_ntk ) { case 12 : jj_consume_token ( 12 ) ; node = SubNode ( r ) ; jj_consume_token ( 13 ) ; break ; case IDENTIFIER : case BLANK : case REGEX : case 14 : case 15 : case 18 : case 19 ...
pertains to this node gets passed all the way down to the Description node
3,307
public ParseException generateParseException ( ) { jj_expentries . clear ( ) ; boolean [ ] la1tokens = new boolean [ 25 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 23 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ]...
Generate ParseException .
3,308
public static base_response sync ( nitro_service client , hafiles resource ) throws Exception { hafiles syncresource = new hafiles ( ) ; syncresource . mode = resource . mode ; return syncresource . perform_operation ( client , "sync" ) ; }
Use this API to sync hafiles .
3,309
public static base_response clear ( nitro_service client , lbpersistentsessions resource ) throws Exception { lbpersistentsessions clearresource = new lbpersistentsessions ( ) ; clearresource . vserver = resource . vserver ; clearresource . persistenceparameter = resource . persistenceparameter ; return clearresource ....
Use this API to clear lbpersistentsessions .
3,310
public static base_responses clear ( nitro_service client , lbpersistentsessions resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { lbpersistentsessions clearresources [ ] = new lbpersistentsessions [ resources . length ] ; for ( int i = 0 ; i < resour...
Use this API to clear lbpersistentsessions resources .
3,311
public static lbpersistentsessions [ ] get ( nitro_service service , options option ) throws Exception { lbpersistentsessions obj = new lbpersistentsessions ( ) ; lbpersistentsessions [ ] response = ( lbpersistentsessions [ ] ) obj . get_resources ( service , option ) ; return response ; }
Use this API to fetch all the lbpersistentsessions resources that are configured on netscaler .
3,312
public static lbpersistentsessions [ ] get ( nitro_service service , lbpersistentsessions_args args ) throws Exception { lbpersistentsessions obj = new lbpersistentsessions ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; lbpersistentsessions [ ] resp...
Use this API to fetch all the lbpersistentsessions resources that are configured on netscaler . This uses lbpersistentsessions_args which is a way to provide additional arguments while fetching the resources .
3,313
public static vpnvserver_staserver_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_staserver_binding obj = new vpnvserver_staserver_binding ( ) ; obj . set_name ( name ) ; vpnvserver_staserver_binding response [ ] = ( vpnvserver_staserver_binding [ ] ) obj . get_resources ( service...
Use this API to fetch vpnvserver_staserver_binding resources of given name .
3,314
public static appfwprofile_trustedlearningclients_binding [ ] get ( nitro_service service , String name ) throws Exception { appfwprofile_trustedlearningclients_binding obj = new appfwprofile_trustedlearningclients_binding ( ) ; obj . set_name ( name ) ; appfwprofile_trustedlearningclients_binding response [ ] = ( appf...
Use this API to fetch appfwprofile_trustedlearningclients_binding resources of given name .
3,315
public static void run ( ProcessBuilder builder , Writer output , Writer error ) { try { Process process = builder . start ( ) ; consume ( process , output , error ) ; int result = process . waitFor ( ) ; if ( result != 0 ) { String msg = "process %s exited with value %d" ; throw new ProcessException ( String . format ...
Start the process defined by the ProcessBuilder and run until complete .
3,316
private static void consume ( Process process , Writer outputWriter , Writer errorWriter ) throws IOException , InterruptedException { if ( outputWriter == null ) { outputWriter = new OutputStreamWriter ( System . out ) ; } if ( errorWriter == null ) { errorWriter = new OutputStreamWriter ( System . err ) ; } WriterThr...
Helper method that consumes the output and error streams of a process .
3,317
public static int getPID ( ) throws IOException { String [ ] cmd = new String [ ] { "perl" , "-e" , "print getppid() . \"\\n\";" } ; StringBuilder out = new StringBuilder ( ) ; runShellCommand ( cmd , out ) ; return Integer . parseInt ( out . toString ( ) ) ; }
Returns the process ID via an awful hack .
3,318
public static appqoe_stats get ( nitro_service service ) throws Exception { appqoe_stats obj = new appqoe_stats ( ) ; appqoe_stats [ ] response = ( appqoe_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all appqoe_stats resources that are configured on netscaler .
3,319
public static transformpolicy_binding get ( nitro_service service , String name ) throws Exception { transformpolicy_binding obj = new transformpolicy_binding ( ) ; obj . set_name ( name ) ; transformpolicy_binding response = ( transformpolicy_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch transformpolicy_binding resource of given name .
3,320
public static gslbvserver_binding get ( nitro_service service , String name ) throws Exception { gslbvserver_binding obj = new gslbvserver_binding ( ) ; obj . set_name ( name ) ; gslbvserver_binding response = ( gslbvserver_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch gslbvserver_binding resource of given name .
3,321
public static aaauser_vpnsessionpolicy_binding [ ] get ( nitro_service service , String username ) throws Exception { aaauser_vpnsessionpolicy_binding obj = new aaauser_vpnsessionpolicy_binding ( ) ; obj . set_username ( username ) ; aaauser_vpnsessionpolicy_binding response [ ] = ( aaauser_vpnsessionpolicy_binding [ ]...
Use this API to fetch aaauser_vpnsessionpolicy_binding resources of given name .
3,322
public static tmtrafficpolicy_csvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { tmtrafficpolicy_csvserver_binding obj = new tmtrafficpolicy_csvserver_binding ( ) ; obj . set_name ( name ) ; tmtrafficpolicy_csvserver_binding response [ ] = ( tmtrafficpolicy_csvserver_binding [ ] ) obj ...
Use this API to fetch tmtrafficpolicy_csvserver_binding resources of given name .
3,323
public static vpnclientlessaccesspolicy_vpnglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnclientlessaccesspolicy_vpnglobal_binding obj = new vpnclientlessaccesspolicy_vpnglobal_binding ( ) ; obj . set_name ( name ) ; vpnclientlessaccesspolicy_vpnglobal_binding response [ ] = ( vpnc...
Use this API to fetch vpnclientlessaccesspolicy_vpnglobal_binding resources of given name .
3,324
public int numCorrect ( int recall ) { int correct = 0 ; for ( int j = scores . length - 1 ; j >= scores . length - recall ; j -- ) { if ( isCorrect [ j ] ) { correct ++ ; } } return correct ; }
how many correct do we have if we return the most confident num recall ones
3,325
public static tmsessionpolicy_aaagroup_binding [ ] get ( nitro_service service , String name ) throws Exception { tmsessionpolicy_aaagroup_binding obj = new tmsessionpolicy_aaagroup_binding ( ) ; obj . set_name ( name ) ; tmsessionpolicy_aaagroup_binding response [ ] = ( tmsessionpolicy_aaagroup_binding [ ] ) obj . get...
Use this API to fetch tmsessionpolicy_aaagroup_binding resources of given name .
3,326
protected String cleanUpLabel ( String label ) { if ( label == null ) { return "" ; } boolean nptemp = NPTmpPattern . matcher ( label ) . matches ( ) ; boolean npadv = NPAdvPattern . matcher ( label ) . matches ( ) ; label = tlp . basicCategory ( label ) ; if ( nptemp ) { label = label + "-TMP" ; } else if ( npadv ) { ...
only leaves NP - TMP and NP - ADV
3,327
public double computeProb ( InfoTemplate temp ) { return computeProb ( temp . wname , temp . wacronym , temp . cname , temp . cacronym , temp . whomepage , temp . chomepage ) ; }
Scores the partial template containing only the fields relevant to the score .
3,328
public static authenticationlocalpolicy_vpnglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationlocalpolicy_vpnglobal_binding obj = new authenticationlocalpolicy_vpnglobal_binding ( ) ; obj . set_name ( name ) ; authenticationlocalpolicy_vpnglobal_binding response [ ] = ( auth...
Use this API to fetch authenticationlocalpolicy_vpnglobal_binding resources of given name .
3,329
public static base_response update ( nitro_service client , ptp resource ) throws Exception { ptp updateresource = new ptp ( ) ; updateresource . state = resource . state ; return updateresource . update_resource ( client ) ; }
Use this API to update ptp .
3,330
public static ptp get ( nitro_service service ) throws Exception { ptp obj = new ptp ( ) ; ptp [ ] response = ( ptp [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the ptp resources that are configured on netscaler .
3,331
public static base_response update ( nitro_service client , nsratecontrol resource ) throws Exception { nsratecontrol updateresource = new nsratecontrol ( ) ; updateresource . tcpthreshold = resource . tcpthreshold ; updateresource . udpthreshold = resource . udpthreshold ; updateresource . icmpthreshold = resource . i...
Use this API to update nsratecontrol .
3,332
public static base_response unset ( nitro_service client , nsratecontrol resource , String [ ] args ) throws Exception { nsratecontrol unsetresource = new nsratecontrol ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of nsratecontrol resource . Properties that need to be unset are specified in args array .
3,333
public static nsratecontrol get ( nitro_service service , options option ) throws Exception { nsratecontrol obj = new nsratecontrol ( ) ; nsratecontrol [ ] response = ( nsratecontrol [ ] ) obj . get_resources ( service , option ) ; return response [ 0 ] ; }
Use this API to fetch all the nsratecontrol resources that are configured on netscaler .
3,334
public static vpnglobal_sharefileserver_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_sharefileserver_binding obj = new vpnglobal_sharefileserver_binding ( ) ; vpnglobal_sharefileserver_binding response [ ] = ( vpnglobal_sharefileserver_binding [ ] ) obj . get_resources ( service ) ; return res...
Use this API to fetch a vpnglobal_sharefileserver_binding resources .
3,335
public static base_response update ( nitro_service client , appflowparam resource ) throws Exception { appflowparam updateresource = new appflowparam ( ) ; updateresource . templaterefresh = resource . templaterefresh ; updateresource . appnamerefresh = resource . appnamerefresh ; updateresource . flowrecordinterval = ...
Use this API to update appflowparam .
3,336
public static base_response unset ( nitro_service client , appflowparam resource , String [ ] args ) throws Exception { appflowparam unsetresource = new appflowparam ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of appflowparam resource . Properties that need to be unset are specified in args array .
3,337
public static appflowparam get ( nitro_service service ) throws Exception { appflowparam obj = new appflowparam ( ) ; appflowparam [ ] response = ( appflowparam [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the appflowparam resources that are configured on netscaler .
3,338
public boolean removeAll ( AbstractBooleanList other ) { if ( ! ( other instanceof BooleanArrayList ) ) return super . removeAll ( other ) ; if ( other . size ( ) == 0 ) { return false ; } int limit = other . size ( ) - 1 ; int j = 0 ; boolean [ ] theElements = elements ; int mySize = size ( ) ; double N = ( double ) o...
Removes from the receiver all elements that are contained in the specified list . Tests for identity .
3,339
public static configobjects get ( nitro_service service ) throws Exception { configobjects obj = new configobjects ( ) ; configobjects [ ] response = ( configobjects [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the config objects resources that are available on netscaler .
3,340
public static authorizationpolicylabel_authorizationpolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { authorizationpolicylabel_authorizationpolicy_binding obj = new authorizationpolicylabel_authorizationpolicy_binding ( ) ; obj . set_labelname ( labelname ) ; authorizationpolicylabe...
Use this API to fetch authorizationpolicylabel_authorizationpolicy_binding resources of given name .
3,341
public static authenticationvserver_auditsyslogpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationvserver_auditsyslogpolicy_binding obj = new authenticationvserver_auditsyslogpolicy_binding ( ) ; obj . set_name ( name ) ; authenticationvserver_auditsyslogpolicy_binding respo...
Use this API to fetch authenticationvserver_auditsyslogpolicy_binding resources of given name .
3,342
public static gslbvserver_gslbservice_binding [ ] get ( nitro_service service , String name ) throws Exception { gslbvserver_gslbservice_binding obj = new gslbvserver_gslbservice_binding ( ) ; obj . set_name ( name ) ; gslbvserver_gslbservice_binding response [ ] = ( gslbvserver_gslbservice_binding [ ] ) obj . get_reso...
Use this API to fetch gslbvserver_gslbservice_binding resources of given name .
3,343
public static rewriteglobal_rewritepolicy_binding [ ] get ( nitro_service service ) throws Exception { rewriteglobal_rewritepolicy_binding obj = new rewriteglobal_rewritepolicy_binding ( ) ; rewriteglobal_rewritepolicy_binding response [ ] = ( rewriteglobal_rewritepolicy_binding [ ] ) obj . get_resources ( service ) ; ...
Use this API to fetch a rewriteglobal_rewritepolicy_binding resources .
3,344
public static void log ( RedwoodChannels channels , Object obj ) { log ( channels , obj . getClass ( ) . getSimpleName ( ) , obj ) ; }
Pretty log an object . Its class name will be used as a description .
3,345
public static base_response add ( nitro_service client , arp resource ) throws Exception { arp addresource = new arp ( ) ; addresource . ipaddress = resource . ipaddress ; addresource . td = resource . td ; addresource . mac = resource . mac ; addresource . ifnum = resource . ifnum ; addresource . ownernode = resource ...
Use this API to add arp .
3,346
public static base_responses add ( nitro_service client , arp resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { arp addresources [ ] = new arp [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new arp ( ...
Use this API to add arp resources .
3,347
public static base_response delete ( nitro_service client , arp resource ) throws Exception { arp deleteresource = new arp ( ) ; deleteresource . ipaddress = resource . ipaddress ; deleteresource . td = resource . td ; deleteresource . all = resource . all ; deleteresource . ownernode = resource . ownernode ; return de...
Use this API to delete arp .
3,348
public static base_responses delete ( nitro_service client , arp resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { arp deleteresources [ ] = new arp [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleteresources [ i ] = n...
Use this API to delete arp resources .
3,349
public static base_response send ( nitro_service client , arp resource ) throws Exception { arp sendresource = new arp ( ) ; sendresource . ipaddress = resource . ipaddress ; sendresource . td = resource . td ; sendresource . all = resource . all ; return sendresource . perform_operation ( client , "send" ) ; }
Use this API to send arp .
3,350
public static base_responses send ( nitro_service client , arp resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { arp sendresources [ ] = new arp [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { sendresources [ i ] = new arp...
Use this API to send arp resources .
3,351
public static arp [ ] get ( nitro_service service ) throws Exception { arp obj = new arp ( ) ; arp [ ] response = ( arp [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the arp resources that are configured on netscaler .
3,352
public static sslpolicy_csvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { sslpolicy_csvserver_binding obj = new sslpolicy_csvserver_binding ( ) ; obj . set_name ( name ) ; sslpolicy_csvserver_binding response [ ] = ( sslpolicy_csvserver_binding [ ] ) obj . get_resources ( service ) ; ...
Use this API to fetch sslpolicy_csvserver_binding resources of given name .
3,353
public static vpnvserver_authenticationldappolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_authenticationldappolicy_binding obj = new vpnvserver_authenticationldappolicy_binding ( ) ; obj . set_name ( name ) ; vpnvserver_authenticationldappolicy_binding response [ ] = ( vpnv...
Use this API to fetch vpnvserver_authenticationldappolicy_binding resources of given name .
3,354
public static base_response add ( nitro_service client , appfwpolicylabel resource ) throws Exception { appfwpolicylabel addresource = new appfwpolicylabel ( ) ; addresource . labelname = resource . labelname ; addresource . policylabeltype = resource . policylabeltype ; return addresource . add_resource ( client ) ; }
Use this API to add appfwpolicylabel .
3,355
public static appfwpolicylabel [ ] get ( nitro_service service ) throws Exception { appfwpolicylabel obj = new appfwpolicylabel ( ) ; appfwpolicylabel [ ] response = ( appfwpolicylabel [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the appfwpolicylabel resources that are configured on netscaler .
3,356
public static appfwpolicylabel get ( nitro_service service , String labelname ) throws Exception { appfwpolicylabel obj = new appfwpolicylabel ( ) ; obj . set_labelname ( labelname ) ; appfwpolicylabel response = ( appfwpolicylabel ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch appfwpolicylabel resource of given name .
3,357
public boolean compare ( List < CoreLabel > doc1 , List < CoreLabel > doc2 ) { int i1 = 0 , i2 = 0 ; String last1 = "O" , last2 = "O" ; boolean cm_set ; for ( int i = 0 ; i < doc1 . size ( ) ; i ++ ) { CoreLabel c1 = doc1 . get ( i ) ; CoreLabel c2 = doc2 . get ( i ) ; String a1 = c1 . getString ( AnswerAnnotation . cl...
Compare two classifier output
3,358
public static vpnglobal_authenticationldappolicy_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_authenticationldappolicy_binding obj = new vpnglobal_authenticationldappolicy_binding ( ) ; vpnglobal_authenticationldappolicy_binding response [ ] = ( vpnglobal_authenticationldappolicy_binding [ ] )...
Use this API to fetch a vpnglobal_authenticationldappolicy_binding resources .
3,359
public static systemglobal_authenticationtacacspolicy_binding [ ] get ( nitro_service service ) throws Exception { systemglobal_authenticationtacacspolicy_binding obj = new systemglobal_authenticationtacacspolicy_binding ( ) ; systemglobal_authenticationtacacspolicy_binding response [ ] = ( systemglobal_authenticationt...
Use this API to fetch a systemglobal_authenticationtacacspolicy_binding resources .
3,360
public static svcbindings get ( nitro_service service , String servicename ) throws Exception { svcbindings obj = new svcbindings ( ) ; obj . set_servicename ( servicename ) ; svcbindings response = ( svcbindings ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch svcbindings resource of given name .
3,361
public static svcbindings [ ] get ( nitro_service service , String servicename [ ] ) throws Exception { if ( servicename != null && servicename . length > 0 ) { svcbindings response [ ] = new svcbindings [ servicename . length ] ; svcbindings obj [ ] = new svcbindings [ servicename . length ] ; for ( int i = 0 ; i < se...
Use this API to fetch svcbindings resources of given names .
3,362
public static cachepolicylabel_stats [ ] get ( nitro_service service ) throws Exception { cachepolicylabel_stats obj = new cachepolicylabel_stats ( ) ; cachepolicylabel_stats [ ] response = ( cachepolicylabel_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all cachepolicylabel_stats resources that are configured on netscaler .
3,363
public static cachepolicylabel_stats get ( nitro_service service , String labelname ) throws Exception { cachepolicylabel_stats obj = new cachepolicylabel_stats ( ) ; obj . set_labelname ( labelname ) ; cachepolicylabel_stats response = ( cachepolicylabel_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of cachepolicylabel_stats resource of given name .
3,364
public static systementitytype get ( nitro_service service ) throws Exception { systementitytype obj = new systementitytype ( ) ; systementitytype [ ] response = ( systementitytype [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the systementitytype resources that are configured on netscaler .
3,365
public static systementitytype [ ] get ( nitro_service service , systementitytype_args args ) throws Exception { systementitytype obj = new systementitytype ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; systementitytype [ ] response = ( systementit...
Use this API to fetch all the systementitytype resources that are configured on netscaler . This uses systementitytype_args which is a way to provide additional arguments while fetching the resources .
3,366
public static spilloverpolicy_binding get ( nitro_service service , String name ) throws Exception { spilloverpolicy_binding obj = new spilloverpolicy_binding ( ) ; obj . set_name ( name ) ; spilloverpolicy_binding response = ( spilloverpolicy_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch spilloverpolicy_binding resource of given name .
3,367
public static cspolicy_binding get ( nitro_service service , String policyname ) throws Exception { cspolicy_binding obj = new cspolicy_binding ( ) ; obj . set_policyname ( policyname ) ; cspolicy_binding response = ( cspolicy_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch cspolicy_binding resource of given name .
3,368
public static gslbvserver_stats [ ] get ( nitro_service service ) throws Exception { gslbvserver_stats obj = new gslbvserver_stats ( ) ; gslbvserver_stats [ ] response = ( gslbvserver_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all gslbvserver_stats resources that are configured on netscaler .
3,369
public static gslbvserver_stats get ( nitro_service service , String name ) throws Exception { gslbvserver_stats obj = new gslbvserver_stats ( ) ; obj . set_name ( name ) ; gslbvserver_stats response = ( gslbvserver_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of gslbvserver_stats resource of given name .
3,370
public static filterglobal_binding get ( nitro_service service ) throws Exception { filterglobal_binding obj = new filterglobal_binding ( ) ; filterglobal_binding response = ( filterglobal_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch a filterglobal_binding resource .
3,371
public static server_servicegroup_binding [ ] get ( nitro_service service , String name ) throws Exception { server_servicegroup_binding obj = new server_servicegroup_binding ( ) ; obj . set_name ( name ) ; server_servicegroup_binding response [ ] = ( server_servicegroup_binding [ ] ) obj . get_resources ( service ) ; ...
Use this API to fetch server_servicegroup_binding resources of given name .
3,372
public static dospolicy_stats [ ] get ( nitro_service service ) throws Exception { dospolicy_stats obj = new dospolicy_stats ( ) ; dospolicy_stats [ ] response = ( dospolicy_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all dospolicy_stats resources that are configured on netscaler .
3,373
public static dospolicy_stats get ( nitro_service service , String name ) throws Exception { dospolicy_stats obj = new dospolicy_stats ( ) ; obj . set_name ( name ) ; dospolicy_stats response = ( dospolicy_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of dospolicy_stats resource of given name .
3,374
public static < X , Y , Z > Triple < X , Y , Z > makeTriple ( X x , Y y , Z z ) { return new Triple < X , Y , Z > ( x , y , z ) ; }
Returns a Triple constructed from X Y and Z . Convenience method ; the compiler will disambiguate the classes used for you so that you don t have to write out potentially long class names .
3,375
public static authenticationvserver_authenticationldappolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationvserver_authenticationldappolicy_binding obj = new authenticationvserver_authenticationldappolicy_binding ( ) ; obj . set_name ( name ) ; authenticationvserver_authentica...
Use this API to fetch authenticationvserver_authenticationldappolicy_binding resources of given name .
3,376
public static responderglobal_binding get ( nitro_service service ) throws Exception { responderglobal_binding obj = new responderglobal_binding ( ) ; responderglobal_binding response = ( responderglobal_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch a responderglobal_binding resource .
3,377
public static sslvserver_sslpolicy_binding [ ] get ( nitro_service service , String vservername ) throws Exception { sslvserver_sslpolicy_binding obj = new sslvserver_sslpolicy_binding ( ) ; obj . set_vservername ( vservername ) ; sslvserver_sslpolicy_binding response [ ] = ( sslvserver_sslpolicy_binding [ ] ) obj . ge...
Use this API to fetch sslvserver_sslpolicy_binding resources of given name .
3,378
public static systemcounters get ( nitro_service service ) throws Exception { systemcounters obj = new systemcounters ( ) ; systemcounters [ ] response = ( systemcounters [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the systemcounters resources that are configured on netscaler .
3,379
public static systemcounters [ ] get ( nitro_service service , systemcounters_args args ) throws Exception { systemcounters obj = new systemcounters ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; systemcounters [ ] response = ( systemcounters [ ] ) ...
Use this API to fetch all the systemcounters resources that are configured on netscaler . This uses systemcounters_args which is a way to provide additional arguments while fetching the resources .
3,380
public static responderpolicylabel_policybinding_binding [ ] get ( nitro_service service , String labelname ) throws Exception { responderpolicylabel_policybinding_binding obj = new responderpolicylabel_policybinding_binding ( ) ; obj . set_labelname ( labelname ) ; responderpolicylabel_policybinding_binding response [...
Use this API to fetch responderpolicylabel_policybinding_binding resources of given name .
3,381
public static channel_binding get ( nitro_service service , String id ) throws Exception { channel_binding obj = new channel_binding ( ) ; obj . set_id ( id ) ; channel_binding response = ( channel_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch channel_binding resource of given name .
3,382
public static appfwprofile_binding get ( nitro_service service , String name ) throws Exception { appfwprofile_binding obj = new appfwprofile_binding ( ) ; obj . set_name ( name ) ; appfwprofile_binding response = ( appfwprofile_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch appfwprofile_binding resource of given name .
3,383
public static lbvserver_auditsyslogpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_auditsyslogpolicy_binding obj = new lbvserver_auditsyslogpolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_auditsyslogpolicy_binding response [ ] = ( lbvserver_auditsyslogpolicy_binding ...
Use this API to fetch lbvserver_auditsyslogpolicy_binding resources of given name .
3,384
public static appfwprofile_sqlinjection_binding [ ] get ( nitro_service service , String name ) throws Exception { appfwprofile_sqlinjection_binding obj = new appfwprofile_sqlinjection_binding ( ) ; obj . set_name ( name ) ; appfwprofile_sqlinjection_binding response [ ] = ( appfwprofile_sqlinjection_binding [ ] ) obj ...
Use this API to fetch appfwprofile_sqlinjection_binding resources of given name .
3,385
public static base_response add ( nitro_service client , clusternode resource ) throws Exception { clusternode addresource = new clusternode ( ) ; addresource . nodeid = resource . nodeid ; addresource . ipaddress = resource . ipaddress ; addresource . state = resource . state ; addresource . backplane = resource . bac...
Use this API to add clusternode .
3,386
public static base_responses add ( nitro_service client , clusternode resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { clusternode addresources [ ] = new clusternode [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addreso...
Use this API to add clusternode resources .
3,387
public static base_response update ( nitro_service client , clusternode resource ) throws Exception { clusternode updateresource = new clusternode ( ) ; updateresource . nodeid = resource . nodeid ; updateresource . state = resource . state ; updateresource . backplane = resource . backplane ; updateresource . priority...
Use this API to update clusternode .
3,388
public static base_responses update ( nitro_service client , clusternode resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { clusternode updateresources [ ] = new clusternode [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { u...
Use this API to update clusternode resources .
3,389
public static base_response unset ( nitro_service client , clusternode resource , String [ ] args ) throws Exception { clusternode unsetresource = new clusternode ( ) ; unsetresource . nodeid = resource . nodeid ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of clusternode resource . Properties that need to be unset are specified in args array .
3,390
public static base_responses unset ( nitro_service client , Long nodeid [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( nodeid != null && nodeid . length > 0 ) { clusternode unsetresources [ ] = new clusternode [ nodeid . length ] ; for ( int i = 0 ; i < nodeid . length ; i ++ ) { unsetre...
Use this API to unset the properties of clusternode resources . Properties that need to be unset are specified in args array .
3,391
public static base_response delete ( nitro_service client , clusternode resource ) throws Exception { clusternode deleteresource = new clusternode ( ) ; deleteresource . nodeid = resource . nodeid ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete clusternode .
3,392
public static base_responses delete ( nitro_service client , Long nodeid [ ] ) throws Exception { base_responses result = null ; if ( nodeid != null && nodeid . length > 0 ) { clusternode deleteresources [ ] = new clusternode [ nodeid . length ] ; for ( int i = 0 ; i < nodeid . length ; i ++ ) { deleteresources [ i ] =...
Use this API to delete clusternode resources of given names .
3,393
public static clusternode [ ] get ( nitro_service service ) throws Exception { clusternode obj = new clusternode ( ) ; clusternode [ ] response = ( clusternode [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the clusternode resources that are configured on netscaler .
3,394
public static clusternode get ( nitro_service service , Long nodeid ) throws Exception { clusternode obj = new clusternode ( ) ; obj . set_nodeid ( nodeid ) ; clusternode response = ( clusternode ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch clusternode resource of given name .
3,395
public static clusternode [ ] get ( nitro_service service , Long nodeid [ ] ) throws Exception { if ( nodeid != null && nodeid . length > 0 ) { clusternode response [ ] = new clusternode [ nodeid . length ] ; clusternode obj [ ] = new clusternode [ nodeid . length ] ; for ( int i = 0 ; i < nodeid . length ; i ++ ) { ob...
Use this API to fetch clusternode resources of given names .
3,396
public static clusternode [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { clusternode obj = new clusternode ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; clusternode [ ] response = ( clusternode [ ] ) obj . getfiltered ( service , option ) ; return resp...
Use this API to fetch filtered set of clusternode resources . set the filter parameter values in filtervalue object .
3,397
public static sslpolicy_binding get ( nitro_service service , String name ) throws Exception { sslpolicy_binding obj = new sslpolicy_binding ( ) ; obj . set_name ( name ) ; sslpolicy_binding response = ( sslpolicy_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch sslpolicy_binding resource of given name .
3,398
public static lbvserver_responderpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_responderpolicy_binding obj = new lbvserver_responderpolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_responderpolicy_binding response [ ] = ( lbvserver_responderpolicy_binding [ ] ) obj ...
Use this API to fetch lbvserver_responderpolicy_binding resources of given name .
3,399
public static cmppolicy_csvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { cmppolicy_csvserver_binding obj = new cmppolicy_csvserver_binding ( ) ; obj . set_name ( name ) ; cmppolicy_csvserver_binding response [ ] = ( cmppolicy_csvserver_binding [ ] ) obj . get_resources ( service ) ; ...
Use this API to fetch cmppolicy_csvserver_binding resources of given name .