flux.file
Class FileTrigger.FileTriggerResult

java.lang.Object
  extended by flux.file.FileTrigger.FileTriggerResult
All Implemented Interfaces:
PersistentVariableListener, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AgentFileTriggerResult, FileTrigger.File_Res
Enclosing interface:
FileTrigger

public static class FileTrigger.FileTriggerResult
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, PersistentVariableListener

File trigger result, which contains matching files and directories from a concrete file trigger.

See Also:
Serialized Form

Field Summary
 java.util.List<FileInfo> fileinfo_matches
          Contains details about files against which the file trigger matched using its file criteria.
 java.util.List<java.lang.String> filename_matches
          Contains simple, base file names, without path information, of files against which the file trigger matched using its file criteria.
 java.util.List<java.net.URL> url_object_matches
          Contains URLs of files and directories against which the file trigger matched using its file criteria.
 java.util.List<java.lang.String> url_string_matches
          Contains URLs of files and directories against which the file trigger matched using its file criteria.
 
Constructor Summary
FileTrigger.FileTriggerResult()
           
 
Method Summary
 java.lang.Object clone()
          Clones this file trigger result.
 void createdVariable()
          Called immediately after a persistent variable has been created and populated with data from the database.
 void persistingVariable()
          Called immediately before a persistent variable is stored to the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url_string_matches

public java.util.List<java.lang.String> url_string_matches
Contains URLs of files and directories against which the file trigger matched using its file criteria. This field contains the same information as the "url_object_matches" field but in string form.


fileinfo_matches

public java.util.List<FileInfo> fileinfo_matches
Contains details about files against which the file trigger matched using its file criteria. Details include file size, last modified date, and file permissions.


url_object_matches

public transient java.util.List<java.net.URL> url_object_matches
Contains URLs of files and directories against which the file trigger matched using its file criteria. This field contains the same information as the "url_string_matches" field but in URL object form.


filename_matches

public transient java.util.List<java.lang.String> filename_matches
Contains simple, base file names, without path information, of files against which the file trigger matched using its file criteria.

Constructor Detail

FileTrigger.FileTriggerResult

public FileTrigger.FileTriggerResult()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this file trigger result.

Overrides:
clone in class java.lang.Object
Returns:
A clone of this file trigger result.
Throws:
java.lang.CloneNotSupportedException - If an error occurs.

createdVariable

public void createdVariable()
                     throws java.lang.Exception
Called immediately after a persistent variable has been created and populated with data from the database. Allows additional initialization work to be performed.

Specified by:
createdVariable in interface PersistentVariableListener
Throws:
java.lang.Exception - If the additional initialization work failed and the engine needs to be notified.

persistingVariable

public void persistingVariable()
Called immediately before a persistent variable is stored to the database. Allows final storage preparation work to be performed.

Specified by:
persistingVariable in interface PersistentVariableListener


© 2014 Flux Corporation. All rights reserved.