com.tngtech.jgiven.config
Class TagConfiguration

java.lang.Object
  extended by com.tngtech.jgiven.config.TagConfiguration

public class TagConfiguration
extends java.lang.Object

Represents the configuration of a tag.

See Also:
for a documentation of the different values.

Nested Class Summary
static class TagConfiguration.Builder
           
 
Constructor Summary
TagConfiguration(java.lang.Class<? extends java.lang.annotation.Annotation> tagAnnotation)
           
 
Method Summary
static TagConfiguration.Builder builder(java.lang.Class<? extends java.lang.annotation.Annotation> tagAnnotation)
           
 java.lang.String getAnnotationType()
           
 java.lang.String getColor()
           
 java.lang.String getCssClass()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getDescription()
           
 java.lang.Class<? extends TagDescriptionGenerator> getDescriptionGenerator()
           
 java.lang.String getName()
           
 java.lang.String getStyle()
           
 java.util.List<java.lang.String> getTags()
           
 java.lang.String getType()
          Deprecated. use getName() instead
 boolean isExplodeArray()
           
 boolean isIgnoreValue()
           
 boolean isPrependType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagConfiguration

public TagConfiguration(java.lang.Class<? extends java.lang.annotation.Annotation> tagAnnotation)
Method Detail

builder

public static TagConfiguration.Builder builder(java.lang.Class<? extends java.lang.annotation.Annotation> tagAnnotation)

getDefaultValue

public java.lang.String getDefaultValue()
See Also:
IsTag.value()

getDescription

public java.lang.String getDescription()
See Also:
IsTag.description()

getDescriptionGenerator

public java.lang.Class<? extends TagDescriptionGenerator> getDescriptionGenerator()
See Also:
IsTag.descriptionGenerator()

getType

@Deprecated
public java.lang.String getType()
Deprecated. use getName() instead

See Also:
IsTag.type()

getName

public java.lang.String getName()
See Also:
IsTag.name()

isExplodeArray

public boolean isExplodeArray()
See Also:
IsTag.explodeArray()

isIgnoreValue

public boolean isIgnoreValue()
See Also:
IsTag.ignoreValue()

isPrependType

public boolean isPrependType()
See Also:
IsTag.prependType()

getColor

public java.lang.String getColor()
See Also:
IsTag.color()

getStyle

public java.lang.String getStyle()
See Also:
IsTag.style()

getCssClass

public java.lang.String getCssClass()
See Also:
IsTag.cssClass()

getTags

public java.util.List<java.lang.String> getTags()

getAnnotationType

public java.lang.String getAnnotationType()