Package org.apache.hop.base
Class AbstractMeta
- java.lang.Object
-
- org.apache.hop.base.AbstractMeta
-
- All Implemented Interfaces:
IChanged,IUndo,IAttributes,IEngineMeta,INamedParameterDefinitions
- Direct Known Subclasses:
PipelineMeta,WorkflowMeta
public abstract class AbstractMeta extends Object implements IChanged, IUndo, IEngineMeta, INamedParameterDefinitions, IAttributes
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Map<String,String>>attributesMapprotected ChangedFlagchangedFlagprotected booleanchangedNotesprotected Set<IContentChangedListener>contentChangedListenersprotected Set<ICurrentDirectoryChangedListener>currentDirectoryChangedListenersprotected Stringfilenameprotected Set<IFilenameChangedListener>filenameChangedListenersprotected intmaxUndoprotected IHopMetadataProvidermetadataProviderprotected Set<INameChangedListener>nameChangedListenersprotected INamedParametersnamedParamsprotected List<NotePadMeta>notesprotected org.apache.hop.base.AbstractMeta.RunOptionsrunOptionsstatic intTYPE_UNDO_CHANGEConstant = 1static intTYPE_UNDO_DELETEConstant = 3static intTYPE_UNDO_NEWConstant = 2static intTYPE_UNDO_POSITIONConstant = 4protected List<ChangeAction>undoprotected intundoPosition
-
Constructor Summary
Constructors Constructor Description AbstractMeta()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddContentChangedListener(IContentChangedListener listener)Adds the passed IContentChangedListener to the list of listeners.voidaddCurrentDirectoryChangedListener(ICurrentDirectoryChangedListener listener)Remove listenervoidaddFilenameChangedListener(IFilenameChangedListener listener)Adds the filename changed listener.voidaddNameChangedListener(INameChangedListener listener)Adds the name changed listener.voidaddNote(int p, NotePadMeta ni)Add a new note at a certain location (i.e.voidaddNote(NotePadMeta ni)Add a new note.voidaddObserver(IHopObserver o)voidaddParameterDefinition(String key, String defValue, String description)voidaddUndo(Object[] from, Object[] to, int[] pos, Point[] prev, Point[] curr, int typeOfChange, boolean nextAlso)Add an undo operation to the undo listbooleancanSave()Checks whether the workflow can be saved.voidclear()voidclearChanged()Clears the changed flag of this.voidclearNameChangedListeners()Removes all the name changed listenersvoidclearUndo()Clear undo.protected intcompare(AbstractMeta meta1, AbstractMeta meta2)voiddeleteObserver(IHopObserver o)static StringextractNameFromFilename(boolean sync, String name, String filename, String extension)DatabaseMetafindDatabase(String name)Deprecated.DatabaseMetafindDatabase(String name, IVariables variables)Find a database connection by it's nameDatabaseMetafindDatabase(String name, IVariables variables, boolean haltOnMissingMeta)Find a database connection by it's nameHopServerfindHopServer(String serverString)Find a hop server using the nameprotected voidfireContentChangedListeners()Fire content changed listeners.protected voidfireContentChangedListeners(boolean ch)protected voidfireCurrentDirectoryChanged(String previous, String current)Notify listeners of a change in current directory.protected voidfireFilenameChangedListeners(String oldFilename, String newFilename)Fire filename changed listeners.protected voidfireNameChangedListeners(String oldName, String newName)Fire name changed listeners.StringgetAttribute(String groupName, String key)Map<String,String>getAttributes(String groupName)Map<String,Map<String,String>>getAttributesMap()List<IContentChangedListener>getContentChangedListeners()abstract DategetCreatedDate()Gets the date the pipeline was created.abstract StringgetCreatedUser()Gets the user by whom the pipeline was created.String[]getDatabaseNames()Gets the database names.List<DatabaseMeta>getDatabases()Returns a list of the databases.abstract StringgetDescription()Gets the description of the workflow.abstract StringgetExtendedDescription()Gets the extended description of the workflow.protected abstract StringgetExtension()StringgetFilename()Gets the filename.String[]getHopServerNames()Gets an array of hop server names.intgetMaxUndo()Get the maximum number of undo operations possibleIHopMetadataProvidergetMetadataProvider()abstract DategetModifiedDate()Gets the date the pipeline was modified.abstract StringgetModifiedUser()Gets the user who last modified the pipeline.abstract StringgetName()Get the name of the pipeline.NotePadMetagetNote(int i)Gets the note.NotePadMetagetNote(int x, int y)Find the note that is located on a certain point on the canvas.int[]getNoteIndexes(List<NotePadMeta> notes)Get an array of the locations of an array of notesList<NotePadMeta>getNotes()Gets the notes.StringgetParameterDefault(String key)StringgetParameterDescription(String key)List<NotePadMeta>getSelectedNotes()Gets a list of all selected notes.intgetUndoSize()Gets the undo size.booleanhasChanged()inthashCode()booleanhasMissingPlugins()booleanhaveNotesChanged()Checks whether or not any of the notes have been changed.intindexOfNote(NotePadMeta ni)Finds the location (index) of the specified note.booleanisAlwaysShowRunOptions()booleanisClearingLog()abstract booleanisNameSynchronizedWithFilename()booleanisSafeModeEnabled()booleanisShowDialog()String[]listParameters()voidlowerNote(int p)Lowers a note to the "bottom" of the list by removing the note at the specified index and re-inserting it at the front.voidnameFromFilename()Builds a name - if no name is set, yet - from the filenameChangeActionnextUndo()Get the next undo transaction on the list.voidnotifyObservers(Object arg)intnrDatabases()intnrNotes()Gets the number of notes.ChangeActionpreviousUndo()Get the previous undo operation and change the undo pointervoidraiseNote(int p)Raises a note to the "top" of the list by removing the note at the specified index and re-inserting it at the end.voidremoveAllParameters()voidremoveContentChangedListener(IContentChangedListener listener)Removes the passed IContentChangedListener from the list of listeners.voidremoveCurrentDirectoryChangedListener(ICurrentDirectoryChangedListener listener)Add a listener to be notified of design-time changes to current directory variablevoidremoveFilenameChangedListener(IFilenameChangedListener listener)Removes the filename changed listener.voidremoveNameChangedListener(INameChangedListener listener)Removes the name changed listener.voidremoveNote(int i)Removes a note at a certain location (i.e.voidsetAlwaysShowRunOptions(boolean alwaysShowRunOptions)voidsetAttribute(String groupName, String key, String value)voidsetAttributes(String groupName, Map<String,String> attributes)voidsetAttributesMap(Map<String,Map<String,String>> attributesMap)voidsetChanged()voidsetChanged(boolean ch)voidsetClearingLog(boolean clearingLog)abstract voidsetCreatedDate(Date createdDate)Sets the date the pipeline was created.abstract voidsetCreatedUser(String createdUser)Sets the user by whom the pipeline was created.abstract voidsetDescription(String description)Set the description of the workflow.abstract voidsetExtendedDescription(String extendedDescription)Set the description of the workflow.voidsetFilename(String newFilename)Set the filename of the workflowprotected abstract voidsetInternalFilenameHopVariables(IVariables var)Sets the internal filename hop variables.abstract voidsetInternalHopVariables(IVariables var)This method sets various internal hop variables.protected abstract voidsetInternalNameHopVariable(IVariables var)Sets the internal name hop variable.voidsetMaxUndo(int mu)Sets the maximum number of undo operations that are allowed.voidsetMetadataProvider(IHopMetadataProvider metadataProvider)abstract voidsetModifiedDate(Date modifiedDate)Sets the date the pipeline was modified.abstract voidsetModifiedUser(String modifiedUser)Sets the user who last modified the pipeline.abstract voidsetName(String newName)Set the name.abstract voidsetNameSynchronizedWithFilename(boolean nameSynchronizedWithFilename)voidsetNotes(List<NotePadMeta> notes)Sets notesvoidsetSafeModeEnabled(boolean safeModeEnabled)voidsetShowDialog(boolean showDialog)ChangeActionviewNextUndo()Get the next undo transaction on the list.ChangeActionviewPreviousUndo()View previous undo, don't change undo positionChangeActionviewThisUndo()View current undo, don't change undo position-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hop.core.IEngineMeta
getXml
-
-
-
-
Field Detail
-
TYPE_UNDO_CHANGE
public static final int TYPE_UNDO_CHANGE
Constant = 1- See Also:
- Constant Field Values
-
TYPE_UNDO_NEW
public static final int TYPE_UNDO_NEW
Constant = 2- See Also:
- Constant Field Values
-
TYPE_UNDO_DELETE
public static final int TYPE_UNDO_DELETE
Constant = 3- See Also:
- Constant Field Values
-
TYPE_UNDO_POSITION
public static final int TYPE_UNDO_POSITION
Constant = 4- See Also:
- Constant Field Values
-
filename
protected String filename
-
nameChangedListeners
protected Set<INameChangedListener> nameChangedListeners
-
filenameChangedListeners
protected Set<IFilenameChangedListener> filenameChangedListeners
-
contentChangedListeners
protected Set<IContentChangedListener> contentChangedListeners
-
currentDirectoryChangedListeners
protected Set<ICurrentDirectoryChangedListener> currentDirectoryChangedListeners
-
notes
protected List<NotePadMeta> notes
-
changedNotes
protected boolean changedNotes
-
undo
protected List<ChangeAction> undo
-
namedParams
protected INamedParameters namedParams
-
metadataProvider
protected IHopMetadataProvider metadataProvider
-
changedFlag
protected final ChangedFlag changedFlag
-
maxUndo
protected int maxUndo
-
undoPosition
protected int undoPosition
-
runOptions
protected org.apache.hop.base.AbstractMeta.RunOptions runOptions
-
-
Method Detail
-
isShowDialog
public boolean isShowDialog()
-
setShowDialog
public void setShowDialog(boolean showDialog)
-
isAlwaysShowRunOptions
public boolean isAlwaysShowRunOptions()
-
setAlwaysShowRunOptions
public void setAlwaysShowRunOptions(boolean alwaysShowRunOptions)
-
getExtension
protected abstract String getExtension()
-
extractNameFromFilename
public static final String extractNameFromFilename(boolean sync, String name, String filename, String extension)
-
setNotes
public void setNotes(List<NotePadMeta> notes)
Sets notes- Parameters:
notes- value of notes
-
getName
public abstract String getName()
Get the name of the pipeline. If the name is synchronized with the filename, we return the base filename.- Specified by:
getNamein interfaceIEngineMeta- Returns:
- The name of the pipeline
-
setName
public abstract void setName(String newName)
Set the name.- Specified by:
setNamein interfaceIEngineMeta- Parameters:
newName- The new name
-
isNameSynchronizedWithFilename
public abstract boolean isNameSynchronizedWithFilename()
- Specified by:
isNameSynchronizedWithFilenamein interfaceIEngineMeta- Returns:
- true if the name is derived from the filename
-
setNameSynchronizedWithFilename
public abstract void setNameSynchronizedWithFilename(boolean nameSynchronizedWithFilename)
- Specified by:
setNameSynchronizedWithFilenamein interfaceIEngineMeta- Parameters:
nameSynchronizedWithFilename- Set to true if the name is derived from the filename
-
getDescription
public abstract String getDescription()
Gets the description of the workflow.- Returns:
- The description of the workflow
-
setDescription
public abstract void setDescription(String description)
Set the description of the workflow.- Parameters:
description- The new description of the workflow
-
getExtendedDescription
public abstract String getExtendedDescription()
Gets the extended description of the workflow.- Returns:
- The extended description of the workflow
-
setExtendedDescription
public abstract void setExtendedDescription(String extendedDescription)
Set the description of the workflow.- Parameters:
extendedDescription- The new extended description of the workflow
-
nameFromFilename
public void nameFromFilename()
Builds a name - if no name is set, yet - from the filename- Specified by:
nameFromFilenamein interfaceIEngineMeta
-
getFilename
public String getFilename()
Gets the filename.- Specified by:
getFilenamein interfaceIEngineMeta- Returns:
- filename
- See Also:
IEngineMeta.getFilename()
-
setFilename
public void setFilename(String newFilename)
Set the filename of the workflow- Specified by:
setFilenamein interfaceIEngineMeta- Parameters:
newFilename- The new filename of the workflow
-
setInternalHopVariables
public abstract void setInternalHopVariables(IVariables var)
This method sets various internal hop variables.- Specified by:
setInternalHopVariablesin interfaceIEngineMeta- Parameters:
var- the variables to set the internal Hop variables and values on
-
setInternalFilenameHopVariables
protected abstract void setInternalFilenameHopVariables(IVariables var)
Sets the internal filename hop variables.- Parameters:
var- the new internal filename hop variables
-
findDatabase
@Deprecated(since="2.0") public DatabaseMeta findDatabase(String name)
Deprecated.Find a database connection by it's name- Parameters:
name- The database name to look for- Returns:
- The database connection or null if nothing was found.
-
findDatabase
public DatabaseMeta findDatabase(String name, IVariables variables)
Find a database connection by it's name- Parameters:
name- The database name to look forvariables- IVariables to use to resolve possible database name- Returns:
- The database connection or null if nothing was found.
-
findDatabase
public DatabaseMeta findDatabase(String name, IVariables variables, boolean haltOnMissingMeta)
Find a database connection by it's name- Parameters:
name- The database name to look forvariables- IVariables to use to resolve possible database namehaltOnMissingMeta- Raise an exception in case connection is missing
-
nrDatabases
public int nrDatabases()
-
addNameChangedListener
public void addNameChangedListener(INameChangedListener listener)
Adds the name changed listener.- Parameters:
listener- the listener
-
removeNameChangedListener
public void removeNameChangedListener(INameChangedListener listener)
Removes the name changed listener.- Parameters:
listener- the listener
-
clearNameChangedListeners
public void clearNameChangedListeners()
Removes all the name changed listeners
-
fireNameChangedListeners
protected void fireNameChangedListeners(String oldName, String newName)
Fire name changed listeners.- Parameters:
oldName- the old namenewName- the new name
-
addFilenameChangedListener
public void addFilenameChangedListener(IFilenameChangedListener listener)
Adds the filename changed listener.- Parameters:
listener- the listener
-
removeFilenameChangedListener
public void removeFilenameChangedListener(IFilenameChangedListener listener)
Removes the filename changed listener.- Parameters:
listener- the listener
-
fireFilenameChangedListeners
protected void fireFilenameChangedListeners(String oldFilename, String newFilename)
Fire filename changed listeners.- Parameters:
oldFilename- the old filenamenewFilename- the new filename
-
addContentChangedListener
public void addContentChangedListener(IContentChangedListener listener)
Adds the passed IContentChangedListener to the list of listeners.- Parameters:
listener-
-
removeContentChangedListener
public void removeContentChangedListener(IContentChangedListener listener)
Removes the passed IContentChangedListener from the list of listeners.- Parameters:
listener-
-
getContentChangedListeners
public List<IContentChangedListener> getContentChangedListeners()
-
fireContentChangedListeners
protected void fireContentChangedListeners()
Fire content changed listeners.
-
fireContentChangedListeners
protected void fireContentChangedListeners(boolean ch)
-
addCurrentDirectoryChangedListener
public void addCurrentDirectoryChangedListener(ICurrentDirectoryChangedListener listener)
Remove listener
-
removeCurrentDirectoryChangedListener
public void removeCurrentDirectoryChangedListener(ICurrentDirectoryChangedListener listener)
Add a listener to be notified of design-time changes to current directory variable
-
fireCurrentDirectoryChanged
protected void fireCurrentDirectoryChanged(String previous, String current)
Notify listeners of a change in current directory.
-
findHopServer
public HopServer findHopServer(String serverString)
Find a hop server using the name- Parameters:
serverString- the name of the hop server- Returns:
- the hop server or null if we couldn't spot an approriate entry.
-
getHopServerNames
public String[] getHopServerNames()
Gets an array of hop server names.- Returns:
- An array list hop server names
-
addUndo
public void addUndo(Object[] from, Object[] to, int[] pos, Point[] prev, Point[] curr, int typeOfChange, boolean nextAlso)
Description copied from interface:IUndoAdd an undo operation to the undo list- Specified by:
addUndoin interfaceIUndo- Parameters:
from- array of objects representing the old stateto- array of objectes representing the new statepos- An array of object locationsprev- An array of points representing the old positionscurr- An array of points representing the new positionsnextAlso- indicates that the next undo operation needs to follow this one.
-
clearUndo
public void clearUndo()
Clear undo.
-
nextUndo
public ChangeAction nextUndo()
Description copied from interface:IUndoGet the next undo transaction on the list. Change the undo pointer.
-
viewNextUndo
public ChangeAction viewNextUndo()
Description copied from interface:IUndoGet the next undo transaction on the list.- Specified by:
viewNextUndoin interfaceIUndo- Returns:
- The next undo transaction (for redo)
-
previousUndo
public ChangeAction previousUndo()
Description copied from interface:IUndoGet the previous undo operation and change the undo pointer- Specified by:
previousUndoin interfaceIUndo- Returns:
- The undo transaction to be performed.
-
viewThisUndo
public ChangeAction viewThisUndo()
View current undo, don't change undo position- Specified by:
viewThisUndoin interfaceIUndo- Returns:
- The current undo transaction
-
viewPreviousUndo
public ChangeAction viewPreviousUndo()
Description copied from interface:IUndoView previous undo, don't change undo position- Specified by:
viewPreviousUndoin interfaceIUndo- Returns:
- The previous undo transaction
-
getMaxUndo
public int getMaxUndo()
Description copied from interface:IUndoGet the maximum number of undo operations possible- Specified by:
getMaxUndoin interfaceIUndo- Returns:
- The maximum number of undo operations that are allowed.
-
setMaxUndo
public void setMaxUndo(int mu)
Description copied from interface:IUndoSets the maximum number of undo operations that are allowed.- Specified by:
setMaxUndoin interfaceIUndo- Parameters:
mu- The maximum number of undo operations that are allowed.
-
getUndoSize
public int getUndoSize()
Gets the undo size.- Returns:
- the undo size
-
setAttributesMap
public void setAttributesMap(Map<String,Map<String,String>> attributesMap)
- Specified by:
setAttributesMapin interfaceIAttributes
-
getAttributesMap
public Map<String,Map<String,String>> getAttributesMap()
- Specified by:
getAttributesMapin interfaceIAttributes
-
setAttribute
public void setAttribute(String groupName, String key, String value)
- Specified by:
setAttributein interfaceIAttributes
-
setAttributes
public void setAttributes(String groupName, Map<String,String> attributes)
- Specified by:
setAttributesin interfaceIAttributes
-
getAttributes
public Map<String,String> getAttributes(String groupName)
- Specified by:
getAttributesin interfaceIAttributes
-
getAttribute
public String getAttribute(String groupName, String key)
- Specified by:
getAttributein interfaceIAttributes
-
addNote
public void addNote(int p, NotePadMeta ni)Add a new note at a certain location (i.e. the specified index). Also marks that the notes have changed.- Parameters:
p- The index into the notes listni- The note to be added.
-
addNote
public void addNote(NotePadMeta ni)
Add a new note. Also marks that the notes have changed.- Parameters:
ni- The note to be added.
-
getNote
public NotePadMeta getNote(int x, int y)
Find the note that is located on a certain point on the canvas.- Parameters:
x- the x-coordinate of the point queriedy- the y-coordinate of the point queried- Returns:
- The note information if a note is located at the point. Otherwise, if nothing was found: null.
-
getNote
public NotePadMeta getNote(int i)
Gets the note.- Parameters:
i- the i- Returns:
- the note
-
getNotes
public List<NotePadMeta> getNotes()
Gets the notes.- Returns:
- the notes
-
getSelectedNotes
public List<NotePadMeta> getSelectedNotes()
Gets a list of all selected notes.- Returns:
- A list of all the selected notes.
-
indexOfNote
public int indexOfNote(NotePadMeta ni)
Finds the location (index) of the specified note.- Parameters:
ni- The note queried- Returns:
- The location of the note, or -1 if nothing was found.
-
lowerNote
public void lowerNote(int p)
Lowers a note to the "bottom" of the list by removing the note at the specified index and re-inserting it at the front. Also marks that the notes have changed.- Parameters:
p- the index into the notes list.
-
nrNotes
public int nrNotes()
Gets the number of notes.- Returns:
- The number of notes.
-
raiseNote
public void raiseNote(int p)
Raises a note to the "top" of the list by removing the note at the specified index and re-inserting it at the end. Also marks that the notes have changed.- Parameters:
p- the index into the notes list.
-
removeNote
public void removeNote(int i)
Removes a note at a certain location (i.e. the specified index). Also marks that the notes have changed.- Parameters:
i- The index into the notes list
-
haveNotesChanged
public boolean haveNotesChanged()
Checks whether or not any of the notes have been changed.- Returns:
- true if the notes have been changed, false otherwise
-
getNoteIndexes
public int[] getNoteIndexes(List<NotePadMeta> notes)
Get an array of the locations of an array of notes- Parameters:
notes- An array of notes- Returns:
- an array of the locations of an array of notes
-
getDatabases
public List<DatabaseMeta> getDatabases()
Returns a list of the databases.- Returns:
- Returns the databases.
-
getDatabaseNames
public String[] getDatabaseNames()
Gets the database names.- Returns:
- the database names
-
addParameterDefinition
public void addParameterDefinition(String key, String defValue, String description) throws DuplicateParamException
- Specified by:
addParameterDefinitionin interfaceINamedParameterDefinitions- Throws:
DuplicateParamException
-
getParameterDescription
public String getParameterDescription(String key) throws UnknownParamException
- Specified by:
getParameterDescriptionin interfaceINamedParameterDefinitions- Throws:
UnknownParamException
-
getParameterDefault
public String getParameterDefault(String key) throws UnknownParamException
- Specified by:
getParameterDefaultin interfaceINamedParameterDefinitions- Throws:
UnknownParamException
-
listParameters
public String[] listParameters()
- Specified by:
listParametersin interfaceINamedParameterDefinitions
-
removeAllParameters
public void removeAllParameters()
- Specified by:
removeAllParametersin interfaceINamedParameterDefinitions
-
getMetadataProvider
public IHopMetadataProvider getMetadataProvider()
-
setMetadataProvider
public void setMetadataProvider(IHopMetadataProvider metadataProvider)
-
setInternalNameHopVariable
protected abstract void setInternalNameHopVariable(IVariables var)
Sets the internal name hop variable.- Parameters:
var- the new internal name hop variable
-
getCreatedDate
public abstract Date getCreatedDate()
Gets the date the pipeline was created.- Specified by:
getCreatedDatein interfaceIEngineMeta- Returns:
- the date the pipeline was created.
-
setCreatedDate
public abstract void setCreatedDate(Date createdDate)
Sets the date the pipeline was created.- Specified by:
setCreatedDatein interfaceIEngineMeta- Parameters:
createdDate- The creation date to set.
-
setCreatedUser
public abstract void setCreatedUser(String createdUser)
Sets the user by whom the pipeline was created.- Specified by:
setCreatedUserin interfaceIEngineMeta- Parameters:
createdUser- The user to set.
-
getCreatedUser
public abstract String getCreatedUser()
Gets the user by whom the pipeline was created.- Specified by:
getCreatedUserin interfaceIEngineMeta- Returns:
- the user by whom the pipeline was created.
-
setModifiedDate
public abstract void setModifiedDate(Date modifiedDate)
Sets the date the pipeline was modified.- Specified by:
setModifiedDatein interfaceIEngineMeta- Parameters:
modifiedDate- The modified date to set.
-
getModifiedDate
public abstract Date getModifiedDate()
Gets the date the pipeline was modified.- Specified by:
getModifiedDatein interfaceIEngineMeta- Returns:
- the date the pipeline was modified.
-
setModifiedUser
public abstract void setModifiedUser(String modifiedUser)
Sets the user who last modified the pipeline.- Specified by:
setModifiedUserin interfaceIEngineMeta- Parameters:
modifiedUser- The user name to set.
-
getModifiedUser
public abstract String getModifiedUser()
Gets the user who last modified the pipeline.- Specified by:
getModifiedUserin interfaceIEngineMeta- Returns:
- the user who last modified the pipeline.
-
clear
public void clear()
-
clearChanged
public void clearChanged()
Description copied from interface:IEngineMetaClears the changed flag of this.- Specified by:
clearChangedin interfaceIChanged- Specified by:
clearChangedin interfaceIEngineMeta
-
setChanged
public void setChanged()
- Specified by:
setChangedin interfaceIChanged
-
setChanged
public final void setChanged(boolean ch)
- Specified by:
setChangedin interfaceIChanged
-
addObserver
public void addObserver(IHopObserver o)
-
deleteObserver
public void deleteObserver(IHopObserver o)
-
notifyObservers
public void notifyObservers(Object arg)
-
canSave
public boolean canSave()
Checks whether the workflow can be saved. For WorkflowMeta, this method always returns true- Specified by:
canSavein interfaceIEngineMeta- Returns:
- true
- See Also:
IEngineMeta.canSave()
-
hasChanged
public boolean hasChanged()
- Specified by:
hasChangedin interfaceIChanged
-
hasMissingPlugins
public boolean hasMissingPlugins()
-
compare
protected int compare(AbstractMeta meta1, AbstractMeta meta2)
-
isClearingLog
public boolean isClearingLog()
-
setClearingLog
public void setClearingLog(boolean clearingLog)
-
isSafeModeEnabled
public boolean isSafeModeEnabled()
-
setSafeModeEnabled
public void setSafeModeEnabled(boolean safeModeEnabled)
-
-