Package classycle.dependency
Class DefaultPreferenceFactory
- java.lang.Object
-
- classycle.dependency.DefaultPreferenceFactory
-
- All Implemented Interfaces:
PreferenceFactory
public class DefaultPreferenceFactory extends java.lang.Object implements PreferenceFactory
Factory ofPreferences
known by theDefaultResultRenderer
.Preference Key Description onlyShortestPaths Only the shortest paths are reported in the case of unwanted dependencies. allPaths All paths are reported in the case of unwanted dependencies. onlyFailures Only results are reported which are not ok. allResults All results are reported. - Author:
- Franz-Josef Elmer
-
-
Field Summary
Fields Modifier and Type Field Description static Preference
ALL_PATHS
static Preference
ALL_RESULTS
static Preference
ONLY_FAILURES
static Preference
ONLY_SHORTEST_PATHS
-
Constructor Summary
Constructors Constructor Description DefaultPreferenceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Preference
get(java.lang.String key)
-
-
-
Field Detail
-
ONLY_SHORTEST_PATHS
public static final Preference ONLY_SHORTEST_PATHS
-
ALL_PATHS
public static final Preference ALL_PATHS
-
ALL_RESULTS
public static final Preference ALL_RESULTS
-
ONLY_FAILURES
public static final Preference ONLY_FAILURES
-
-
Method Detail
-
get
public Preference get(java.lang.String key)
- Specified by:
get
in interfacePreferenceFactory
-
-