ddiff
Version 1.0.0

com.ehsbe.ddiff
Enum Analyzer.Option

java.lang.Object
  extended by java.lang.Enum<Analyzer.Option>
      extended by com.ehsbe.ddiff.Analyzer.Option
All Implemented Interfaces:
Serializable, Comparable<Analyzer.Option>
Enclosing class:
Analyzer

public static enum Analyzer.Option
extends Enum<Analyzer.Option>

Options, which have an influence, how directories are scanned and the output gets formatted.

Version:
$Revision: 395 $
Author:
Jens Elkner

Enum Constant Summary
Enum Constant and Description
COMPACT
          dont show the content of missing directories
EXCLUDE_HIDDEN
          ignore hidden dir entries
FILE_CONTENT
          compare the name of file entries as well as their content.
FOLLOW_SYMLINKS
          follow symlinks
ONE_DIFF_WILDCARD
          if the diff between to dirs is just one single entry, list the the entry on the missing side, a '-' as marker and "dir/**" on the other side
PARSEABLE
          produce parsable output by ommiting header and padding with spaces
SHOW_IDENTICAL
          list identical entries as well, i.e. not just the diffs
SYMLINK_CONTENT
          compare the name of symlink entries as well as their content.
 
Method Summary
Modifier and Type Method and Description
static Analyzer.Option valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Analyzer.Option[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

COMPACT

public static final Analyzer.Option COMPACT
dont show the content of missing directories


SHOW_IDENTICAL

public static final Analyzer.Option SHOW_IDENTICAL
list identical entries as well, i.e. not just the diffs


ONE_DIFF_WILDCARD

public static final Analyzer.Option ONE_DIFF_WILDCARD
if the diff between to dirs is just one single entry, list the the entry on the missing side, a '-' as marker and "dir/**" on the other side


PARSEABLE

public static final Analyzer.Option PARSEABLE
produce parsable output by ommiting header and padding with spaces


FILE_CONTENT

public static final Analyzer.Option FILE_CONTENT
compare the name of file entries as well as their content. Default is to compare the filename of the dir entry, only.


SYMLINK_CONTENT

public static final Analyzer.Option SYMLINK_CONTENT
compare the name of symlink entries as well as their content. Default is to compare the symlink name of the dir entry, only.


EXCLUDE_HIDDEN

public static final Analyzer.Option EXCLUDE_HIDDEN
ignore hidden dir entries


FOLLOW_SYMLINKS

public static final Analyzer.Option FOLLOW_SYMLINKS
follow symlinks

Method Detail

values

public static Analyzer.Option[] 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 (Analyzer.Option c : Analyzer.Option.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Analyzer.Option valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

ddiff
Version 1.0.0

Created by Jens Elkner