public class WorkflowSchedulerPanel extends javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESTINATIONSERVERCOMBOBOX |
static java.lang.String[] |
INTERVALUNITLABEL |
static java.lang.String[] |
INTERVALUNITVALUE |
static java.lang.String |
TIMEEXAMPLE |
static java.lang.String |
TIMESTAMPFORMAT |
static java.lang.String |
TIMESTAMPFORMATWITHTIMEZONE |
static java.lang.String |
WORKFLOWRUNENGINECOMBOBOX |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
WorkflowSchedulerPanel(TableauFrame parent,
WorkflowSchedulerParentPanel schedulerParentPanel,
ScheduleChangeController scheduleChangeController)
Construct a new ServerWorkflowSchedulePanel in a frame with a specific title.
|
Modifier and Type | Method and Description |
---|---|
static void |
addComponent(javax.swing.JPanel panel,
javax.swing.JComponent component,
java.awt.GridBagLayout layout,
java.awt.GridBagConstraints constraint) |
static void |
addFixWidthComponent(javax.swing.JPanel panel,
javax.swing.JComponent component,
java.awt.GridBagLayout layout,
java.awt.GridBagConstraints constraint) |
java.lang.String |
getKarLSID()
Get the kar file id associated with the workflow.
|
TableauFrame |
getParentFrame()
This method must return the TableauFrame this tab is associated with.
|
java.lang.String |
getWorkflowId()
Get the id of the workflow (LSID format)
|
java.lang.String |
getWorkflowName()
Get the name of the workflow
|
static boolean |
localContainsTimeZoneID(java.lang.String id) |
static java.lang.String |
lookupIntervalUnit(java.lang.String unitLabel)
Look for couterpart of interval unit for a specified unit label
|
static java.lang.String |
lookupIntervalUnitLabel(java.lang.String unit)
Look for counterpart of interval unit label for a specified unit
|
void |
setKarLSID(java.lang.String karId)
Set the id of the kar file
|
void |
setWorkflowForScheduling(java.lang.String workflowName,
java.lang.String workflowLSID,
java.lang.String karSourceRepositoryName,
java.lang.String karLSID,
boolean hasReportLayout)
Pass a workflow information to the scheulder.
|
void |
setWorkflowId(java.lang.String workflowId)
Set the workflow id (LSID format)
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String[] INTERVALUNITLABEL
public static final java.lang.String[] INTERVALUNITVALUE
public static final java.lang.String WORKFLOWRUNENGINECOMBOBOX
public static final java.lang.String DESTINATIONSERVERCOMBOBOX
public static final java.lang.String TIMEEXAMPLE
public static final java.lang.String TIMESTAMPFORMAT
public static final java.lang.String TIMESTAMPFORMATWITHTIMEZONE
public WorkflowSchedulerPanel(TableauFrame parent, WorkflowSchedulerParentPanel schedulerParentPanel, ScheduleChangeController scheduleChangeController) throws java.lang.Exception
java.lang.Exception
public TableauFrame getParentFrame()
public static void addComponent(javax.swing.JPanel panel, javax.swing.JComponent component, java.awt.GridBagLayout layout, java.awt.GridBagConstraints constraint)
public static void addFixWidthComponent(javax.swing.JPanel panel, javax.swing.JComponent component, java.awt.GridBagLayout layout, java.awt.GridBagConstraints constraint)
public java.lang.String getWorkflowId()
public void setWorkflowId(java.lang.String workflowId)
workflowId
- the id will be setpublic java.lang.String getWorkflowName()
public java.lang.String getKarLSID()
public void setKarLSID(java.lang.String karId)
karId
- id will be setpublic void setWorkflowForScheduling(java.lang.String workflowName, java.lang.String workflowLSID, java.lang.String karSourceRepositoryName, java.lang.String karLSID, boolean hasReportLayout)
workflowName
- name of the workflowworkflowLSID
- lsid of the workflowkarSourceRepositoryName
- name of the repository where the kar file stayskarLSID
- lsid of the kar file which the workflow stayspublic static java.lang.String lookupIntervalUnit(java.lang.String unitLabel)
unitLabel
- the specified unit labelpublic static java.lang.String lookupIntervalUnitLabel(java.lang.String unit)
unit
- the specified unitpublic static boolean localContainsTimeZoneID(java.lang.String id)