Forge - Parent 1.2.3-SNAPSHOT

org.jboss.forge.shell.util
Class ConstraintInspector

java.lang.Object
  extended by org.jboss.forge.shell.util.ConstraintInspector

public abstract class ConstraintInspector
extends Object

Used to inspect types that may or may not depend on Facets or PackagingTypes

Author:
Lincoln Baxter, III

Constructor Summary
ConstraintInspector()
           
 
Method Summary
static List<PackagingType> getCompatiblePackagingTypes(Class<?> type)
          Inspect the given Class for any dependencies to PackagingType types.
static List<Class<? extends Facet>> getFacetDependencies(Class<?> type)
          Inspect the given Class for any dependencies to Facet types.
static String getName(Class<?> type)
          Return the name of the given bean type.
static boolean requiresProject(Class<?> type)
          Inspect the given Class type for a dependency on an active project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintInspector

public ConstraintInspector()
Method Detail

getName

public static String getName(Class<?> type)
Return the name of the given bean type.


getFacetDependencies

public static List<Class<? extends Facet>> getFacetDependencies(Class<?> type)
Inspect the given Class for any dependencies to Facet types.


getCompatiblePackagingTypes

public static List<PackagingType> getCompatiblePackagingTypes(Class<?> type)
Inspect the given Class for any dependencies to PackagingType types.


requiresProject

public static boolean requiresProject(Class<?> type)
Inspect the given Class type for a dependency on an active project.


Forge - Parent 1.2.3-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.