|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
PIRL.Conductor.Maestro.New_Conductor_Dialog
public class New_Conductor_Dialog
New_Conductor_Dialog provides a dialog used to interactively obtain the information needed to form a command line that will start a Conductor.
New_Conductor_Dialog is a reusable dialog. Once constructed it only needs to be setVisible to be activated. If it had been used previously the previous field values will remain.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static boolean |
DEFAULT_WAIT_TO_START
|
static String |
ID
Class name and version identification. |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
New_Conductor_Dialog()
Constructs a default New_Conductor_Dialog. |
|
New_Conductor_Dialog(String title,
Frame owner)
Constructs a New_Conductor_Dialog. |
|
New_Conductor_Dialog(String title,
Frame owner,
boolean modal)
Constructs a New_Conductor_Dialog. |
|
New_Conductor_Dialog(String title,
Frame owner,
boolean modal,
String pipeline)
Constructs a New_Conductor_Dialog. |
|
New_Conductor_Dialog(String title,
Frame owner,
boolean modal,
String name,
String pipeline,
String catalog,
String configuration,
String server,
int count,
boolean wait_to_start)
Constructs a New_Conductor_Dialog. |
Method Summary | |
---|---|
String |
Catalog()
Get the database catalog name. |
New_Conductor_Dialog |
Catalog(String name)
Set the database catalog name. |
String |
Configuration()
Get the configuration source name. |
New_Conductor_Dialog |
Configuration(String name)
Set the configuration source name. |
int |
Count()
Get the Conductor count. |
New_Conductor_Dialog |
Count(int count)
Set the Conductor count. |
static boolean |
Default_Wait_to_Start()
Set the default wait-to-start mode. |
static void |
Default_Wait_to_Start(boolean wait_to_start)
Get the default wait-to-start mode. |
String |
Name()
Get the Conductor name. |
New_Conductor_Dialog |
Name(String name)
Set the Conductor name. |
String |
Pipeline()
Get the pipeline name. |
New_Conductor_Dialog |
Pipeline(String name)
Set the pipeline name. |
String |
Server()
Get the database server name. |
New_Conductor_Dialog |
Server(String name)
Set the database server name. |
Message |
Start_Conductor_Message()
Get the Conductor command line description message. |
static Message |
Start_Conductor_Message(String title,
JFrame owner)
Get a Message that defines a command line to start a Conductor. |
String |
Title()
Get the dialog title. |
New_Conductor_Dialog |
Title(String title)
Set the dialog title. |
boolean |
Wait_to_Start()
Test if wait-to-start is selected. |
New_Conductor_Dialog |
Wait_to_Start(boolean wait_to_start)
Set the wait-to-start mode. |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ID
public static final boolean DEFAULT_WAIT_TO_START
Constructor Detail |
---|
public New_Conductor_Dialog(String title, Frame owner, boolean modal, String name, String pipeline, String catalog, String configuration, String server, int count, boolean wait_to_start)
title
- The title String for the dialog window. If null
"Start Conductor" will be used.owner
- The Frame with which the dialog is associated,
which may be null in which case the dialog will be associated
with the display.modal
- If true, the dialog will be modal; if false, the
dialog will not be modal.name
- The name of the Conductor definition. If null the pipeline
name is used.pipeline
- The name of the pipeline to be managed by the
Conductor. May be null, but if the corresponding field is not
filled in when the Accept button is pressed a Notice Dialog_Box
will be shown and the Accept will be aborted.catalog
- The name of the database catalog containing the
pipeline tables. May be null.configuration
- The pathname for the configuration file to be
used by Conductor. If null, the Conductor.DEFAULT_CONFIGURATION_FILENAME
will be
used.server
- The name of the database server access parameters
group in the configuration file. May be null.count
- The number of Conductors to start.wait_to_start
- The WAIT_TO_START
mode for a
Conductor will be set to this value.public New_Conductor_Dialog(String title, Frame owner, boolean modal, String pipeline)
The default name, catalog, configuration pathname, server name and count will be used and wait-to-start will be true.
title
- The title String for the dialog window. If null
"Start Conductor" will be used.owner
- The Frame with which the dialog is associated,
which may be null in which case the dialog will be associated
with the display.modal
- If true, the dialog will be modal; if false, the
dialog will not be modal.pipeline
- The name of the pipeline to be managed by the
Conductor. May be null, but if the corresponding field is not
filled in when the Accept button is pressed a Notice Dialog_Box
will be shown and the Accept will be aborted.public New_Conductor_Dialog(String title, Frame owner, boolean modal)
The default name, catalog, configuration pathname, pipeline name, server name and count will be used and wait-to-start will be true.
title
- The title String for the dialog window. If null
"Start Conductor" will be used.owner
- The Frame with which the dialog is associated,
which may be null in which case the dialog will be associated
with the display.modal
- If true, the dialog will be modal; if false, the
dialog will not be modal.public New_Conductor_Dialog(String title, Frame owner)
The default name, catalog, configuration pathname, pipeline name, server name and count will be used and wait-to-start will be true. The dialog will be modal.
title
- The title String for the dialog window. If null
"Start Conductor" will be used.owner
- The Frame with which the dialog is associated,
which may be null in which case the dialog will be associated
with the display.public New_Conductor_Dialog()
Method Detail |
---|
public static Message Start_Conductor_Message(String title, JFrame owner)
A New_Conductor_Dialog is constructed, set visible and the
resulting message
, if any, is
returned. The dialog will be modal and the default pipeline name,
catalog, configuration pathname, server name and count will be used
and wait-to-start will be true.
title
- The title String for the dialog window. If null
"Start Conductor" will be used.owner
- The Frame with which the dialog is associated,
which may be null in which case the dialog will be associated
with the display.public String Title()
Title(String)
public New_Conductor_Dialog Title(String title)
title
- The title String to be displayed in the dialog window
header bar.
public String Name()
Name(String)
public New_Conductor_Dialog Name(String name)
name
- The name of the Conductor definition. If null the
pipeline
name is used.
public String Pipeline()
Pipeline(String)
public New_Conductor_Dialog Pipeline(String name)
If the Conductor name
is null it is set to the pipeline
name.
name
- The name of the pipeline. May be null.
public String Catalog()
Catalog(String)
public New_Conductor_Dialog Catalog(String name)
name
- The name of the database catalog. May be null.
public String Configuration()
Configuration(String)
public New_Conductor_Dialog Configuration(String name)
name
- The source name for the configuration file. May be null.
public String Server()
Server(String)
public New_Conductor_Dialog Server(String name)
name
- The name of the database server as listed in the
Server list of the configuration file used by the Conductor. May
be null.
public boolean Wait_to_Start()
Wait_to_Start(boolean)
public New_Conductor_Dialog Wait_to_Start(boolean wait_to_start)
When wait-to-start mode is enabled the Conductor will be told to wait for a start message from a Manager before source processing begins. Otherwise the Conductor will begin processing sources immediately after it has initialized.
wait_to_start
- The value of the Coductor wait-to-start mode.
public static boolean Default_Wait_to_Start()
Default_Wait_to_Start(boolean)
public static void Default_Wait_to_Start(boolean wait_to_start)
wait_to_start
- The default value of the Coductor wait-to-start
mode if it is not otherwise specified.Wait_to_Start(boolean)
public int Count()
Count(int)
public New_Conductor_Dialog Count(int count)
count
- The number of Conductors to be started. The value
will be limited to the range 1 - Stage_Manager.DEFAULT_MAX_START_CONDUCTORS_COUNT
. N.B.:
The Stage_Manager being employed may have been configured to
impose a lower maximum value.
public Message Start_Conductor_Message()
@return The Message that was generated the last time this dialog was used and Accept was pressed. This will be null if the dialog was not previously used or the last time it was used Cancel was pressed.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |