public class Processing_Changes extends Object
Conductor
,
Processing_Event
Modifier and Type | Field and Description |
---|---|
static String |
ID
Class identification name with source code version and date.
|
static String |
MASKED_PASSWORD
The value to set for all
configuration parameters named "Password" (case insensitive). |
Constructor and Description |
---|
Processing_Changes()
Construct Processing_Changes containing no changes.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration()
Get the changed Configuration.
|
Processing_Changes |
Configuration(Configuration configuration)
Set the changed Configuration.
|
Processing_Changes |
Configuration(Parameter parameters)
Set the changed Configuration from a Parameter.
|
String |
Error_Condition()
Get an error condition report.
|
Processing_Changes |
Error_Condition(String error_condition)
Set an error condition report.
|
boolean |
Exiting()
Test if the Conductor is exiting.
|
Processing_Changes |
Exiting(boolean state)
Set if the Conductor is exiting.
|
Vector<String> |
Procedure_Record()
Get the changed procedure record.
|
Processing_Changes |
Procedure_Record(Vector<String> procedure_record)
Set the changed prcedure record.
|
boolean |
Procedures_Changed()
Test if the procedure records have changed.
|
Processing_Changes |
Procedures_Changed(boolean changed)
Set if the procedure records have changed.
|
int |
Processing_State()
Get the processing state.
|
Processing_Changes |
Processing_State(int processing_state)
Set the processing state.
|
int |
Sequential_Failures()
Get the changed sequential failures limit.
|
Processing_Changes |
Sequential_Failures(int failure_count)
Set the changed sequential failures limit.
|
Vector<String> |
Source_Record()
Get the changed source record.
|
Processing_Changes |
Source_Record(Vector<String> source_record)
Set the changed source record.
|
boolean |
Sources_Refreshed()
Test if the source records cache was refreshed with new records.
|
Processing_Changes |
Sources_Refreshed(boolean refreshed)
Set if the source records cache was refreshed with new records.
|
String |
toString()
Get a description of this Processing_Changes state.
|
public static final String ID
public static final String MASKED_PASSWORD
configuration
parameters named "Password" (case insensitive).public Processing_Changes()
public Configuration Configuration()
Configuration(Configuration)
public Processing_Changes Configuration(Configuration configuration) throws Configuration_Exception
If the Configuration is non-null it is copied into this Processing_Changes.
The copy is set to be case insensitive
and all parameters named "PASSWORD" (case insensitive)
have their values reset to MASKED_PASSWORD
.
configuration
- A Configuration. May be null.Configuration_Exception
Configuration(Parameter)
,
Configuration()
public Processing_Changes Configuration(Parameter parameters) throws Configuration_Exception
If the Parameter is non-null it is copied into the Configuration of
this Processing_Changes. The copy is set to be case insensitive
and all
parameters named "PASSWORD" (case insensitive) have their values
reset to MASKED_PASSWORD
.
parameters
- A Parameter. May be null.Configuration_Exception
Configuration(Configuration)
,
Configuration()
public int Processing_State()
The expected Conductor processing state values are:
Conductor.RUNNING
Conductor.POLLING
Conductor.WAITING
Conductor.HALTED
Processing_State(int)
public Processing_Changes Processing_State(int processing_state)
processing_state
- A Conductor processing state value, or
zero the state is unchanged.Processing_State()
public Vector<String> Source_Record()
Source_Record(Vector)
public Processing_Changes Source_Record(Vector<String> source_record)
If the record is non-null it is copied into this Processing_Changes.
source_record
- A Vector containing the changed source
record, or null if the record is unchanged.Source_Record()
public boolean Sources_Refreshed()
Sources_Refreshed(boolean)
public Processing_Changes Sources_Refreshed(boolean refreshed)
refreshed
- true if the source records cache was refreshed
with new records; false if the cache is unchanged.Sources_Refreshed()
public Vector<String> Procedure_Record()
Procedure_Record(Vector)
public Processing_Changes Procedure_Record(Vector<String> procedure_record)
If the record is non-null it is copied into this Processing_Changes.
procedure_record
- A Vector containing the changed procedure
record, or null if the record is unchanged.Procedure_Record()
public boolean Procedures_Changed()
Procedures_Changed(boolean)
public Processing_Changes Procedures_Changed(boolean changed)
changed
- true if the procedure records were replaced with new
records; false if the records are unchanged.Procedures_Changed()
public int Sequential_Failures()
Sequential_Failures(int)
public Processing_Changes Sequential_Failures(int failure_count)
Sequential_Failures()
public String Error_Condition()
Error_Condition(String)
public Processing_Changes Error_Condition(String error_condition)
Error_Condition()
public boolean Exiting()
Exiting(boolean)
public Processing_Changes Exiting(boolean state)
Exiting()
public String toString()
The Processing_Changes object is described by its ID
followed by the name and values of each state variable.
The Configuration
description
will occupy many lines and
may include at the end warnings from the PVL Lister about illegal
syntax in values; this is to be expected and is harmless. If the
Configuration is malformed its description will begin with an empty
line followed by a description of the problem.