org.pentaho.di.resource
Class SequenceResourceNaming

java.lang.Object
  extended by org.pentaho.di.resource.SimpleResourceNaming
      extended by org.pentaho.di.resource.SequenceResourceNaming
All Implemented Interfaces:
ResourceNamingInterface

public class SequenceResourceNaming
extends SimpleResourceNaming

With this resource naming scheme we try to keep the original filename. However, if there are multiple files with the same name, we add a sequence nr starting at 2. For example : Load orders.ktr Load orders 2.ktr Load orders 3.ktr etc.

Author:
matt

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.pentaho.di.resource.ResourceNamingInterface
ResourceNamingInterface.FileNamingType
 
Constructor Summary
SequenceResourceNaming()
           
 
Method Summary
 
Methods inherited from class org.pentaho.di.resource.SimpleResourceNaming
getDirectoryMap, getFileSystemPrefix, getUseOriginalPathInTargetName, nameResource, nameResource, setDirectoryMap, setFileSystemPrefix, setUseOriginalPathInTargetName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceResourceNaming

public SequenceResourceNaming()