Package org.alfresco.repo.imap
Enum AttachmentsExtractor.AttachmentsExtractorMode
- java.lang.Object
-
- java.lang.Enum<AttachmentsExtractor.AttachmentsExtractorMode>
-
- org.alfresco.repo.imap.AttachmentsExtractor.AttachmentsExtractorMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AttachmentsExtractor.AttachmentsExtractorMode>
- Enclosing class:
- AttachmentsExtractor
public static enum AttachmentsExtractor.AttachmentsExtractorMode extends java.lang.Enum<AttachmentsExtractor.AttachmentsExtractorMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttachmentsExtractor.AttachmentsExtractorModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AttachmentsExtractor.AttachmentsExtractorMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAME
public static final AttachmentsExtractor.AttachmentsExtractorMode SAME
Attachments will be extracted to the same folder where email lies.
-
COMMON
public static final AttachmentsExtractor.AttachmentsExtractorMode COMMON
All attachments for all emails will be extracted to one folder.
-
SEPARATE
public static final AttachmentsExtractor.AttachmentsExtractorMode SEPARATE
All attachments for each email will be extracted to separate folder.
-
-
Method Detail
-
values
public static AttachmentsExtractor.AttachmentsExtractorMode[] 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 (AttachmentsExtractor.AttachmentsExtractorMode c : AttachmentsExtractor.AttachmentsExtractorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttachmentsExtractor.AttachmentsExtractorMode 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 namejava.lang.NullPointerException- if the argument is null
-
-