Uses of Interface
com.jalios.jcms.fileprocessor.FileActionComponent
-
Packages that use FileActionComponent Package Description com.jalios.jcms.fileprocessor com.jalios.jcms.fileprocessor.repository com.jalios.jcms.fileprocessor.test com.jalios.jcms.fileprocessor.ui -
-
Uses of FileActionComponent in com.jalios.jcms.fileprocessor
Subinterfaces of FileActionComponent in com.jalios.jcms.fileprocessor Modifier and Type Interface Description interface
FileParser
A class that implements this interface is a parser for at least one kind of files.interface
FileProcessor
A class that implements this interface is a processor for at least one kind of files.Methods in com.jalios.jcms.fileprocessor that return FileActionComponent Modifier and Type Method Description static FileActionComponent
FPUtil. getActionComponentInstance(java.lang.Class<? extends FileActionComponent> clazz)
Returns a new instance of a FileActionComponent of the class specified in parameter.FileActionComponent
ProcessingEvent. getComponent()
Methods in com.jalios.jcms.fileprocessor that return types with arguments of type FileActionComponent Modifier and Type Method Description static java.util.Comparator<FileActionComponent>
FPUtil. getActionComponentComparator()
This comparator is to order FileActionComponent in regard with getOrder.java.lang.Class<? extends FileActionComponent>
ProcessingException. getProcessorBlackListedClass()
For certain reason, one file may be blacklisted only for a FileActionComponent, not to cause the same exception, at each iteration.Method parameters in com.jalios.jcms.fileprocessor with type arguments of type FileActionComponent Modifier and Type Method Description static FileActionComponent
FPUtil. getActionComponentInstance(java.lang.Class<? extends FileActionComponent> clazz)
Returns a new instance of a FileActionComponent of the class specified in parameter.static void
FileProcessorReplicaMessageManager. sendActionMsg(FileProcessorAction action, Repository repository, java.lang.String[] filesShortName, java.lang.Class<? extends FileActionComponent> actionComponentClass)
void
ProcessingException. setProcessorBlackListedClass(java.lang.Class<? extends FileActionComponent> processorBlackListedClass)
Constructors in com.jalios.jcms.fileprocessor with parameters of type FileActionComponent Constructor Description ProcessingEvent(Repository repository, FileActionComponent component, java.io.File file, ProcessingType type, ProcessingData.Type processingDataType)
Create a new Action with information that never changeConstructor parameters in com.jalios.jcms.fileprocessor with type arguments of type FileActionComponent Constructor Description ProcessingException(java.lang.String message, java.lang.Class<? extends FileActionComponent> processorBlackListedClass)
ProcessingException(java.lang.Throwable cause, java.lang.Class<? extends FileActionComponent> processorBlackListedClass)
-
Uses of FileActionComponent in com.jalios.jcms.fileprocessor.repository
Methods in com.jalios.jcms.fileprocessor.repository that return FileActionComponent Modifier and Type Method Description FileActionComponent
Repository. getActionComponent(java.lang.Class<? extends FileActionComponent> componentClass)
Retrieve any instance already created for the specified FileActionComponent class.Methods in com.jalios.jcms.fileprocessor.repository that return types with arguments of type FileActionComponent Modifier and Type Method Description java.util.Set<java.lang.Class<? extends FileActionComponent>>
Repository. getActionComponentClassSet()
Retrieve a Set of all class FileActionComponent class registered and enabled for this repositoryjava.util.Map<java.lang.Class<? extends FileActionComponent>,java.util.SortedSet<java.lang.String>>
Repository. getComponentClassToExtensionSetMap()
Retrieve a map of all component class to the extensions registered for them.Methods in com.jalios.jcms.fileprocessor.repository with parameters of type FileActionComponent Modifier and Type Method Description FileProcessingLog
Repository. addFileProcessingLog(java.io.File file, FileActionComponent component, ProcessingType type, ProcessingStatus status, long duration, java.lang.Exception exception, int attempt)
Create a new instance of FileProcessingLog with the specified parameters and store it.Method parameters in com.jalios.jcms.fileprocessor.repository with type arguments of type FileActionComponent Modifier and Type Method Description void
Repository. addActionComponent(java.lang.Class<? extends FileActionComponent> componentClazz, java.lang.String[] extensions)
Add the specified FileActionComponent (parser or processor) to this repository for the specified extensions.FileProcessingLog
Repository. addFileProcessingLog(java.lang.String filename, java.lang.Class<? extends FileActionComponent> componentClass, ProcessingType type, ProcessingStatus status, long duration, java.lang.String message, int attempt)
void
Repository. blacklistFile(java.lang.String filename, java.lang.Class<? extends FileActionComponent> actionComponentClass)
Blacklist the specified file.void
Repository. deleteFileProcessingLog(java.lang.String filename, java.lang.Class<? extends FileActionComponent> actionComponentClass)
Remove all log and info for the specified filename and component.FileActionComponent
Repository. getActionComponent(java.lang.Class<? extends FileActionComponent> componentClass)
Retrieve any instance already created for the specified FileActionComponent class.boolean
Repository. isProcessedByActionComponentClass(java.io.File file, java.lang.Class<? extends FileActionComponent> clazz)
Test whether a file may be processed by a FileActionComponent.boolean
Repository. removeActionComponent(java.lang.Class<? extends FileActionComponent> componentClass)
Remove the specified component class from this repository configuration.boolean
Repository. removeActionComponent(java.lang.Class<? extends FileActionComponent> componentClass, java.lang.String[] extensions)
Remove the specified component class from this repository configuration for the specified extension (if any).void
Repository. unBlacklistFile(java.lang.String filename, java.lang.Class<? extends FileActionComponent> actionComponentClass)
Unblacklist the specified file. -
Uses of FileActionComponent in com.jalios.jcms.fileprocessor.test
Classes in com.jalios.jcms.fileprocessor.test that implement FileActionComponent Modifier and Type Class Description class
SampleProcessor
Sample FileProcessor and FileParse which can be used for testing. -
Uses of FileActionComponent in com.jalios.jcms.fileprocessor.ui
Method parameters in com.jalios.jcms.fileprocessor.ui with type arguments of type FileActionComponent Modifier and Type Method Description abstract void
FileProcessorAction. process(boolean first, Repository repository, java.lang.String[] filesShortName, java.lang.Class<? extends FileActionComponent> actionComponentClass)
Process the action.
-