Package net.officefloor.woof.model.woof
Class WoofTemplateExtensionChangeContextImpl
- java.lang.Object
-
- net.officefloor.frame.impl.construct.source.SourcePropertiesImpl
-
- net.officefloor.frame.impl.construct.source.SourceContextImpl
-
- net.officefloor.woof.model.woof.WoofTemplateExtensionChangeContextImpl
-
- All Implemented Interfaces:
ServiceContext
,SourceContext
,SourceProperties
,WoofTemplateExtensionChangeContext
public class WoofTemplateExtensionChangeContextImpl extends SourceContextImpl implements WoofTemplateExtensionChangeContext
WoofTemplateExtensionChangeContext
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description WoofTemplateExtensionChangeContextImpl(boolean isLoadingType, SourceContext sourceContext, java.lang.String oldUri, SourceProperties oldProperties, java.lang.String newUri, SourceProperties newProperties, ConfigurationContext configurationContext, WoofChangeIssues issues)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationContext
getConfigurationContext()
Obtains theConfigurationContext
.WoofTemplateExtensionConfiguration
getNewConfiguration()
Obtains the newWoofTemplateExtensionConfiguration
.WoofTemplateExtensionConfiguration
getOldConfiguration()
Obtains the oldWoofTemplateExtensionConfiguration
.WoofChangeIssues
getWoofChangeIssues()
Obtains theWoofChangeIssues
to report issues in applying/reverting aChange
.-
Methods inherited from class net.officefloor.frame.impl.construct.source.SourceContextImpl
getClassLoader, getClock, getLogger, getName, getOptionalResource, getProfiles, getResource, isLoadingType, loadClass, loadOptionalClass, loadOptionalService, loadOptionalServices, loadService, loadService, loadServices
-
Methods inherited from class net.officefloor.frame.impl.construct.source.SourcePropertiesImpl
addProperty, getProperties, getProperty, getProperty, getPropertyNames
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.frame.api.source.SourceContext
getClassLoader, getClock, getLogger, getName, getOptionalResource, getProfiles, getResource, isLoadingType, loadClass, loadOptionalClass, loadOptionalService, loadOptionalServices, loadService, loadService, loadServices
-
Methods inherited from interface net.officefloor.frame.api.source.SourceProperties
getProperties, getProperty, getProperty, getPropertyNames
-
-
-
-
Constructor Detail
-
WoofTemplateExtensionChangeContextImpl
public WoofTemplateExtensionChangeContextImpl(boolean isLoadingType, SourceContext sourceContext, java.lang.String oldUri, SourceProperties oldProperties, java.lang.String newUri, SourceProperties newProperties, ConfigurationContext configurationContext, WoofChangeIssues issues)
Initiate.- Parameters:
isLoadingType
- Indicates if loading type.sourceContext
-SourceContext
.oldUri
- Old URI.oldProperties
- OldSourceProperties
.newUri
- New URI.newProperties
- NewSourceProperties
.configurationContext
-ConfigurationContext
.issues
-WoofChangeIssues
.
-
-
Method Detail
-
getOldConfiguration
public WoofTemplateExtensionConfiguration getOldConfiguration()
Description copied from interface:WoofTemplateExtensionChangeContext
Obtains the old
WoofTemplateExtensionConfiguration
.Should the
WoofTemplateExtension
be added, then this will benull
.- Specified by:
getOldConfiguration
in interfaceWoofTemplateExtensionChangeContext
- Returns:
- Old
WoofTemplateExtensionConfiguration
. May benull
.
-
getNewConfiguration
public WoofTemplateExtensionConfiguration getNewConfiguration()
Description copied from interface:WoofTemplateExtensionChangeContext
Obtains the new
WoofTemplateExtensionConfiguration
.Should the
WoofTemplateExtension
be removed, then this will benull
.- Specified by:
getNewConfiguration
in interfaceWoofTemplateExtensionChangeContext
- Returns:
- New
WoofTemplateExtensionConfiguration
. May benull
.
-
getConfigurationContext
public ConfigurationContext getConfigurationContext()
Description copied from interface:WoofTemplateExtensionChangeContext
Obtains the
ConfigurationContext
.The
ConfigurationContext
is at the root of the Project source.Note that Projects are anticipated to follow the standard Maven project structure.
- Specified by:
getConfigurationContext
in interfaceWoofTemplateExtensionChangeContext
- Returns:
ConfigurationContext
.
-
getWoofChangeIssues
public WoofChangeIssues getWoofChangeIssues()
Description copied from interface:WoofTemplateExtensionChangeContext
Obtains theWoofChangeIssues
to report issues in applying/reverting aChange
.- Specified by:
getWoofChangeIssues
in interfaceWoofTemplateExtensionChangeContext
- Returns:
WoofChangeIssues
.
-
-