Class GenerateOpenAPIModel
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
@DisableCachingByDefault(because = "Operates against a running ICM server - the result depends on external server state and must never be taken from the build cache") public abstract class GenerateOpenAPIModel extends AbstractICMASContainerTask<RedirectToLoggerCallback, RedirectToLoggerCallback, Long>
Task to execute the OpenAPI model generator on a running container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumGenerateOpenAPIModel.FileOutputFormatModel file output formats.
public classGenerateOpenAPIModel.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static StringTASK_NAMEpublic final static StringMAIN_CLASSpublic final static StringSERVER_NAMEpublic final static StringENV_INTERSHOP_PREPARATION_EMBEDDEDpublic final static StringWORKING_DIRECTORYpublic final static StringCONTAINER_VOLUMEpublic final static StringMODELS_SUBDIRECTORYpublic final static StringPROPERTIES_SUBDIRECTORYprivate final Property<GenerateOpenAPIModel.FileOutputFormat>fileOutputFormatprivate final Property<String>applicationsIDsprivate final Property<Boolean>embeddedDBPrepareprivate final Property<DevelopmentConfiguration.DatabaseParameters>databaseConfigurationprivate final Property<DevelopmentConfiguration.WebserverConfiguration>webserverConfigurationprivate final Property<DevelopmentConfiguration.ASPortConfiguration>portConfigurationprivate final SetProperty<String>cartridgeListprivate final SetProperty<String>testCartridgeListprivate Stringdebugprivate StringclasspathLayoutprivate final Property<ContainerHandle>containerprivate final TaskOutputsInternaloutputsprivate final Property<String>apiVersionprivate final Spec<in TaskInternal>onlyIfprivate final Property<Duration>timeoutprivate final TaskRequiredServicesrequiredServicesprivate final TaskDependencyInternaltaskDependenciesprivate final Set<Object>dependsOnprivate final TaskDestroyablesdestroyablesprivate final Loggerloggerprivate final Stringpathprivate final Factory<File>temporaryDirFactoryprivate final Optional<String>reasonTaskIsIncompatibleWithConfigurationCacheprivate final TaskLocalStatelocalStateprivate final List<InputChangesAwareTaskAction>taskActionsprivate final TaskDependencyInternallifecycleDependenciesprivate BooleanisEnabledprivate BooleanimpliesSubProjectsprivate final TaskInputsInternalinputsprivate Booleanenabledprivate final TaskStateInternalstateprivate final Property<String>urlprivate final TaskIdentity<?>taskIdentityprivate final TaskDependencyshouldRunAfterprivate final ExtensionContainerextensionsprivate final BooleanisCompatibleWithConfigurationCacheprivate final TaskDependencyfinalizedByprivate final AntBuilderantprivate final List<ResourceLock>sharedResourcesprivate final DynamicObjectasDynamicObjectprivate BooleandidWorkprivate final Property<DockerClientService>dockerClientServiceprivate final Optional<String>reasonNotToTrackStateprivate Stringgroupprivate final Set<String>reasonsNotToTrackStateprivate final BooleanisHasCustomActionsprivate List<Action<in Task>>actionsprivate final DirectoryPropertycertPathprivate final Stringnameprivate final FiletemporaryDirprivate final LoggingManagerloggingprivate final PathidentityPathprivate final DockerClientdockerClientprivate final TaskDependencymustRunAfterprivate final StandardOutputCapturestandardOutputCaptureprivate final Projectprojectprivate Stringdescriptionpublic final static GenerateOpenAPIModel.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description GenerateOpenAPIModel(ObjectFactory objectFactory, ProviderFactory providerFactory)
-
Method Summary
Modifier and Type Method Description final Property<GenerateOpenAPIModel.FileOutputFormat>getFileOutputFormat()The model file output format property, if omitted YAML is used. final Property<String>getApplicationsIDs()CLI option for application IDs property. final Property<Boolean>getEmbeddedDBPrepare()CLI option for embedded dbPrepare property (default=false). List<GenerateOpenAPIModel.FileOutputFormat>getAvailableFileOutputFormats()Returns a list of possible model file output formats for console help output. List<ResourceLock>getSharedResources()-
Methods inherited from class com.intershop.gradle.icm.docker.tasks.AbstractICMASContainerTask
getCartridgeList, getClasspathLayout, getDatabaseConfiguration, getDebug, getDebugOptionValues, getPortConfiguration, getTestCartridgeList, getWebserverConfiguration, runRemoteCommand, setClasspathLayout, setDebug -
Methods inherited from class com.intershop.gradle.icm.docker.tasks.AbstractContainerTask
currentContainerState, getContainer, getContainer -
Methods inherited from class org.gradle.api.DefaultTask
getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, setActions, setDescription, setDidWork, setEnabled, setEnabled, setGroup -
Methods inherited from class com.bmuschko.gradle.docker.tasks.AbstractDockerRemoteApiTask
getApiVersion, getCertPath, getDockerClient, getDockerClientService, getUrl, onComplete, onError, onNext, start -
Methods inherited from class org.gradle.api.internal.AbstractTask
getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getReasonsNotToTrackState, getRequiredServices, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, setImpliesSubProjects -
Methods inherited from class com.intershop.gradle.icm.docker.tasks.GenerateOpenAPIModel
getSharedResources -
Methods inherited from class com.intershop.gradle.icm.docker.tasks.AbstractExistingContainerTask
executeUsing -
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setDependsOn, setFinalizedBy, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class org.gradle.api.internal.TaskInternal
acceptServiceReferences, appendParallelSafeAction, doNotTrackStateIf, hasTaskActions, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFileOutputFormat
@Input() final Property<GenerateOpenAPIModel.FileOutputFormat> getFileOutputFormat()
The model file output format property, if omitted YAML is used.
-
getApplicationsIDs
@Input()@Optional() final Property<String> getApplicationsIDs()
CLI option for application IDs property.
-
getEmbeddedDBPrepare
@Input()@Optional() final Property<Boolean> getEmbeddedDBPrepare()
CLI option for embedded dbPrepare property (default=false).
-
getAvailableFileOutputFormats
List<GenerateOpenAPIModel.FileOutputFormat> getAvailableFileOutputFormats()
Returns a list of possible model file output formats for console help output.
-
getSharedResources
@Internal() List<ResourceLock> getSharedResources()
-
-
-
-