Class GenerateInterfacesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
de.iip_ecosphere.platform.configuration.maven.AbstractConfigurationMojo
de.iip_ecosphere.platform.configuration.maven.GenerateInterfacesMojo
- All Implemented Interfaces:
DependencyResolver.Caller,de.iip_ecosphere.platform.tools.maven.python.Logger,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generateInterfaces",
defaultPhase=GENERATE_SOURCES)
public class GenerateInterfacesMojo
extends AbstractConfigurationMojo
Generates only the service/data interfaces, no application parts.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCalled byAbstractConfigurationMojo.execute()to figure out whether the instantiation shall take place.Returns the start rule name.Methods inherited from class de.iip_ecosphere.platform.configuration.maven.AbstractConfigurationMojo
adjustOutputDir, checkChanged, execute, findGenParent, getFallbackResourcesDirectory, getMaxLastModified, getMetaModelDirectory, getModel, getModelDirectory, getOutputDirectory, getProject, getProjectBuilder, getRepoSystem, getResourcesDirectory, getSession, getTracingLevel, getUnpackForce, isModelDirectoryValid, modelNewerThanOut, recordExecutionTimeMethods inherited from class de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
error, error, info, warnMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.configuration.maven.DependencyResolver.Caller
getLog, getRemoteRepos, getRepoSession
-
Constructor Details
-
GenerateInterfacesMojo
public GenerateInterfacesMojo()
-
-
Method Details
-
getStartRule
Description copied from class:AbstractConfigurationMojoReturns the start rule name.- Specified by:
getStartRulein classAbstractConfigurationMojo- Returns:
- the start rule name
-
enableRun
Description copied from class:AbstractConfigurationMojoCalled byAbstractConfigurationMojo.execute()to figure out whether the instantiation shall take place. By default, instantiation will be enabled if IVML files inmodelDirare newer than files inoutput directoryor if output directory is empty or missing.- Overrides:
enableRunin classAbstractConfigurationMojo- Parameters:
metaModelDir- the meta model directorymodelDir- the model directoryoutputDir- the output directory- Returns:
truefor instantiation,falsefor no instantiation
-