input
stringlengths
10
828
output
stringlengths
5
107
public kernel process get process return process
accessor to get the
private int generate process id return total processes
generates and returns a new process id
private void set process id int process id this process id process id
mutator to set a new process id
public object synchronous execution kernel context process throws exception return execute process get process
executes a kernel context in a synchronous fashion
public response handler get response handler throws exception http servlet response handler handler new http servlet response handler jmlnitrate plant plant jmlnitrate plant get parameter handler set servlet response servlet response adaptor plant get param response handler response handler add parameter http servlet r...
creates and return the
private void add process kernel process process throw new unsupported operation exception not yet implemented
adds a kernel process to the pool
public request handler get request handler throws exception throw new unsupported operation exception this is a response handler factory
creates and return the
public string get process name return name
accessor to get the name associated with the process
protected void add parameter object key object value response put parameter key value
mutator to add a parameter to a response
public servlet response adaptor get servlet response throws exception return response
accessor to get servlet response adaptor of the handler
public void set execution class class clazz throws exception this clazz clazz
mutator to set the class to execute by the kernel
public object get value string key return response get parameter key
mutator to get the value associated with a parameter on the response
public void set execution class string clazz throws exception set execution class cache manager get class clazz
mutator to set the class to execute by the kernel
public class get execution class return clazz
accessor to get the execution class gor the process
protected void set parameter object parameter this parameter parameter
set the parameter needed by the concrete implementation for processing
protected object get parameter return parameter
returns a b live b reference for the parameter needed by the concrete
public void set execution constructor throws exception set execution constructor null null
mutator to set the constructor to use by the execution class
public response handler get response handler throws exception throw new unsupported operation exception this is a request handler factory
creates and return the
public request handler get request handler throws exception reader request handler handler new reader request handler return handler
creates and return the
public buffered input stream get stream return stream
accessor to return the internal
public request handler get request handler throws exception http servlet request handler handler new http servlet request handler jmlnitrate plant plant jmlnitrate plant get parameter handler set http servlet request http servlet request plant get param request handler request return handler
creates and return the
public string get value string key return request get parameter key
accessor to get the value associated with a parameter on the request
public map get parameters hash map parameters new hash map java util enumeration param names enum request get parameter names while param names enum has more elements string key string param names enum next element string values request get parameter values key parameters put key values return parameters
returns all the values of the request as a
public object get attribute string key return request get attribute key
accessor to get the value associated with an attribute on the request
public buffered reader get stream return stream
accessor to return the internal
public string get execution method name return method name
accessor to get the name of the method to execute
public boolean is static method return static method
returns whether the method to execute is static or not
public boolean equals object obj if obj null get class equals obj get class return false kernel process tp kernel process obj return this name equals tp name
checks if two object are equal
public int hash code return get class hash code name hash code
computes a hashcode for the process
private kernel process create kernel process throws exception string class name get class name string process name class name object ctor get constructor object method get method return kernel create kernel process process name class name ctor method
creates a kernel process from the request
private string get class name string class name handler get value transformation parameter class get name if class name null class name equals logger error parameter transformation parameter class get name must be supplied throw new null pointer exception parameter transformation parameter class get name must be suppli...
retrieves the class name from the handler
private object get array return null
returns an array of a class type
public transformation get transformation throws exception transformation transformation null jmlnitrate plant plant jmlnitrate plant get parameter string factory name string list plant get param key get 0 class clazz cache manager get class factory name transformation transformation clazz new instance check to see if a...
creates and return the
private void get params element plant root jmlnitrate plant plant list children plant root get children jmlnitrate xmltags param element list iterator lit children list iterator while lit has next element param element lit next string key param get attribute value jmlnitrate xmltags key attribute plant add param key ge...
retrieves the parameters for the plant
public integer get identifier return id
accessor to get the identifier of the parameter
private object get values element param root array list values new array list list children param root get children jmlnitrate xmltags value element list iterator lit children list iterator while lit has next element value element lit next values add value get text trim return values
retrieves the parameters for the plant
public object get transformation result return result
return the result of the transformation
protected void set transformation result object result this result result
mutator to set the result of the transformation
public void set parameters hash map params this params params
set the parameters for the transformation to be executed
private object read resolve throws object stream exception return transformation parameter get by identifier this id
this method handles resolving a deserialized instance to a known
protected hash map get parameters return params
return the parameters reference
public string get handler factory return
returns the fqn of the
public void test string s logger debug inside the test string method logger debug string value s
test instance method
public void test config logger debug pre jmlnitrate kernel jmlnitrate create logger debug post
tests that a kernel can be loaded
public void test int i logger debug inside the test int method logger debug int value i
test instance method
public void test two loads logger debug pre jmlnitrate kernel1 jmlnitrate create jmlnitrate kernel2 jmlnitrate create logger debug post
tests that a kernel can be loaded more than once
public void test long l logger debug inside the test long method logger debug long value l
test instance method
public void test float f logger debug inside the test float method logger debug float value f
test instance method
public void test boolean b logger debug inside the test boolean method logger debug boolean value b
test instance method
public object get registry object return registry object
gets the value of the registry object property
public void set registry object object value this registry object value
sets the value of the registry object property
public object get identification scheme return identification scheme
gets the value of the identification scheme property
public void set identification scheme object value this identification scheme value
sets the value of the identification scheme property
public adhoc query response get adhoc query response return adhoc query response
gets the value of the adhoc query response property
public void set adhoc query response adhoc query response value this adhoc query response value
sets the value of the adhoc query response property
public leaf registry object list type get leaf registry object list return leaf registry object list
gets the value of the leaf registry object list property
public void set leaf registry object list leaf registry object list type value this leaf registry object list value
sets the value of the leaf registry object list property
public void set source object object value this source object value
sets the value of the source object property
public registry entry type create registry entry type return new registry entry type
create an instance of
public void set target object object value this target object value
sets the value of the target object property
public leaf registry object list type create leaf registry object list type return new leaf registry object list type
create an instance of
public error type get severity if severity null return error type error else return severity
gets the value of the severity property
public void set severity error type value this severity value
sets the value of the severity property
public void set sqlquery string value this sql query value
sets the value of the sql query property
public error type get highest severity return highest severity
gets the value of the highest severity property
public void set highest severity error type value this highest severity value
sets the value of the highest severity property
public adhoc query request get adhoc query request return adhoc query request
gets the value of the adhoc query request property
public void set adhoc query request adhoc query request value this adhoc query request value
sets the value of the adhoc query request property
public registry response get registry response return registry response
gets the value of the registry response property
public void set registry response registry response value this registry response value
sets the value of the registry response property
public registry response create registry response return new registry response
create an instance of
public registry object list type get sqlquery result return sql query result
gets the value of the sql query result property
public void set sqlquery result registry object list type value this sql query result value
sets the value of the sql query result property
public xmlgregorian calendar get expiration return expiration
gets the value of the expiration property
public object get classification scheme return classification scheme
gets the value of the classification scheme property
public void set classification scheme object value this classification scheme value
sets the value of the classification scheme property
public void set expiration xmlgregorian calendar value this expiration value
sets the value of the expiration property
public object get classified object return classified object
gets the value of the classified object property
public big integer get major version if major version null return new big integer 1 else return major version
gets the value of the major version property
public void set classified object object value this classified object value
sets the value of the classified object property
public object get classification node return classification node
gets the value of the classification node property
public void set major version big integer value this major version value
sets the value of the major version property
public void set classification node object value this classification node value
sets the value of the classification node property
public big integer get minor version if minor version null return new big integer 0 else return minor version
gets the value of the minor version property
public void set minor version big integer value this minor version value
sets the value of the minor version property
public string get stability return stability
gets the value of the stability property
public void set stability string value this stability value
sets the value of the stability property
public string get user version return user version
gets the value of the user version property
public void set user version string value this user version value
sets the value of the user version property
public root element create root element return new root element
create an instance of
public object ref list create object ref list return new object ref list
create an instance of
public registry response type get registry response return registry response
gets the value of the registry response property
public void set registry response registry response type value this registry response value
sets the value of the registry response property
public string get repository unique id return repository unique id
gets the value of the repository unique id property
public void set repository unique id string value this repository unique id value
sets the value of the repository unique id property
public string get document unique id return document unique id
gets the value of the document unique id property
public void set document unique id string value this document unique id value
sets the value of the document unique id property
public data handler get document return document
gets the value of the document property
public void set document data handler value this document value
sets the value of the document property
public data handler get value return value
gets the value of the value property