public abstract class BeforeAfterActionMetaData extends java.lang.Object implements BeforeAfterMetaData
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DESCRIPTION_FILE_NAME |
protected static TextDescriptor |
EMPTY_DESCRIPTION |
protected static TextDescriptor[] |
EMPTY_EXAMPLE |
protected TextDescriptor |
myDescription |
protected java.lang.String |
myDescriptionDirectoryName |
protected java.lang.ClassLoader |
myLoader |
Constructor and Description |
---|
BeforeAfterActionMetaData(java.lang.ClassLoader loader,
java.lang.String descriptionDirectoryName) |
BeforeAfterActionMetaData(TextDescriptor description,
TextDescriptor [] exampleUsagesBefore,
TextDescriptor [] exampleUsagesAfter) |
Modifier and Type | Method and Description |
---|---|
TextDescriptor |
getDescription() |
TextDescriptor [] |
getExampleUsagesAfter() |
TextDescriptor [] |
getExampleUsagesBefore() |
protected abstract java.lang.String |
getResourceLocation(java.lang.String resourceName) |
protected static final TextDescriptor[] EMPTY_EXAMPLE
protected static final TextDescriptor EMPTY_DESCRIPTION
protected static final java.lang.String DESCRIPTION_FILE_NAME
protected final java.lang.ClassLoader myLoader
protected final java.lang.String myDescriptionDirectoryName
protected TextDescriptor myDescription
public BeforeAfterActionMetaData(java.lang.ClassLoader loader, java.lang.String descriptionDirectoryName)
public BeforeAfterActionMetaData(TextDescriptor description, TextDescriptor [] exampleUsagesBefore, TextDescriptor [] exampleUsagesAfter)
public TextDescriptor [] getExampleUsagesBefore()
getExampleUsagesBefore
in interface BeforeAfterMetaData
public TextDescriptor [] getExampleUsagesAfter()
getExampleUsagesAfter
in interface BeforeAfterMetaData
public TextDescriptor getDescription()
getDescription
in interface BeforeAfterMetaData
protected abstract java.lang.String getResourceLocation(java.lang.String resourceName)