org.jvnet.hudson.plugins.backup.utils.filename
Enum FileNamePatternEnum
java.lang.Object
java.lang.Enum<FileNamePatternEnum>
org.jvnet.hudson.plugins.backup.utils.filename.FileNamePatternEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FileNamePatternEnum>
public enum FileNamePatternEnum
- extends java.lang.Enum<FileNamePatternEnum>
User: vsellier
Date: May 3, 2009
Time: 6:56:31 PM
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DATE
public static final FileNamePatternEnum DATE
EXTENSION
public static final FileNamePatternEnum EXTENSION
values
public static FileNamePatternEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FileNamePatternEnum c : FileNamePatternEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FileNamePatternEnum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
isPresentIn
public boolean isPresentIn(java.lang.String template)
replace
public abstract java.lang.String replace(java.lang.String template,
BackupConfig configuration)
Copyright © 2009. All Rights Reserved.