Package net.jangaroo.jooc.mvnplugin
Class AbstractSenchaPackageOrAppMojo<T extends SenchaPackageOrAppConfigBuilder>
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- net.jangaroo.jooc.mvnplugin.AbstractSenchaMojo
-
- net.jangaroo.jooc.mvnplugin.AbstractSenchaPackageOrAppMojo<T>
-
- All Implemented Interfaces:
SenchaProfileConfiguration,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
SenchaPackageAppMojo,SenchaPackageMojo
public abstract class AbstractSenchaPackageOrAppMojo<T extends SenchaPackageOrAppConfigBuilder> extends AbstractSenchaMojo implements SenchaProfileConfiguration
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.mvnplugin.AbstractSenchaMojo
APP_MANIFEST_CROSS_MODULE_MERGE_STRATEGY, APP_MANIFEST_LOCALIZATION_MERGE_STRATEGY, project, session
-
-
Constructor Summary
Constructors Constructor Description AbstractSenchaPackageOrAppMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract TcreateSenchaConfigBuilder()voidexecute()List<String>getAdditionalCssIncludeInBundle()A list of paths to CSS files to include that are not loaded via the class loader (usually in resources folder).List<String>getAdditionalCssNonBundle()A list of paths to CSS files to include that are not loaded via the class loader (usually in resources folder).List<String>getAdditionalJsIncludeInBundle()A list of paths to JS files to include that are not loaded via the class loader (usually in resources folder).List<String>getAdditionalJsNonBundle()A list of paths to JS files to include that are not loaded via the class loader (usually in resources folder).abstract StringgetJsonConfigFileName()List<String>getRequiredClasses()Specifies the required classes.SenchaProfileConfigurationgetTesting()StringgetTheme()abstract StringgetType()-
Methods inherited from class net.jangaroo.jooc.mvnplugin.AbstractSenchaMojo
getAppDirOrJar, getAppManifestFileNameForLocale, getAppManifestFragmentFileNameForLocale, getArtifactFile, getExtFrameworkArtifactPattern, getExtFrameworkArtifactRegexp, getInputStreamForDirOrJar, getManifestEntries, getRootApp, getSenchaJvmArgs, getSenchaLogLevel, getToolkit, isExtFrameworkArtifact, isExtFrameworkDependency, prepareAppManifestByLocale, prepareFile
-
-
-
-
Method Detail
-
getType
public abstract String getType()
-
getJsonConfigFileName
public abstract String getJsonConfigFileName()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
createSenchaConfigBuilder
protected abstract T createSenchaConfigBuilder()
-
getTesting
public SenchaProfileConfiguration getTesting()
-
getRequiredClasses
@Nonnull public List<String> getRequiredClasses()
Description copied from interface:SenchaProfileConfigurationSpecifies the required classes.- Specified by:
getRequiredClassesin interfaceSenchaProfileConfiguration
-
getTheme
public String getTheme()
-
getAdditionalCssNonBundle
@Nonnull public List<String> getAdditionalCssNonBundle()
Description copied from interface:SenchaProfileConfigurationA list of paths to CSS files to include that are not loaded via the class loader (usually in resources folder). "bundle" option will be set to false, "includeInBundle" will be set to false.- Specified by:
getAdditionalCssNonBundlein interfaceSenchaProfileConfiguration
-
getAdditionalJsNonBundle
@Nonnull public List<String> getAdditionalJsNonBundle()
Description copied from interface:SenchaProfileConfigurationA list of paths to JS files to include that are not loaded via the class loader (usually in resources folder). "bundle" option will be set to false, "includeInBundle" will be set to false.- Specified by:
getAdditionalJsNonBundlein interfaceSenchaProfileConfiguration
-
getAdditionalCssIncludeInBundle
@Nonnull public List<String> getAdditionalCssIncludeInBundle()
Description copied from interface:SenchaProfileConfigurationA list of paths to CSS files to include that are not loaded via the class loader (usually in resources folder). "bundle" option will be set to false, "includeInBundle" will be set to true.- Specified by:
getAdditionalCssIncludeInBundlein interfaceSenchaProfileConfiguration
-
getAdditionalJsIncludeInBundle
@Nonnull public List<String> getAdditionalJsIncludeInBundle()
Description copied from interface:SenchaProfileConfigurationA list of paths to JS files to include that are not loaded via the class loader (usually in resources folder). "bundle" option will be set to false, "includeInBundle" will be set to true.- Specified by:
getAdditionalJsIncludeInBundlein interfaceSenchaProfileConfiguration
-
-