public abstract class AbstractArtifact<T extends org.mule.runtime.deployment.model.api.DeployableArtifactDescriptor> extends Object implements Artifact
Artifact.| Modifier and Type | Field and Description |
|---|---|
protected ArtifactDeployer |
artifactDeployer |
protected T |
artifactDescriptor |
protected ArtifactResources |
artifactResources |
protected ToolingArtifactContext |
context |
protected org.mule.tooling.client.internal.application.AbstractArtifact.NoFailureConfigurationProperties |
noFailureConfigurationProperties |
protected String |
remoteArtifactId |
protected org.mule.runtime.api.util.LazyValue<RuntimeToolingService> |
runtimeToolingService |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkState() |
void |
dispose() |
protected void |
disposeRemoteArtifactContext() |
ToolingApplicationModel |
getApplicationModel() |
org.mule.runtime.deployment.model.internal.tooling.ToolingArtifactClassLoader |
getArtifactClassLoader() |
String |
getArtifactName() |
protected List<org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader> |
getArtifactPluginClassLoaders() |
org.mule.runtime.core.api.config.bootstrap.ArtifactType |
getArtifactType() |
URL |
getArtifactUrlContent() |
List<org.mule.runtime.api.meta.model.ExtensionModel> |
getExtensionModels() |
String |
getId() |
Map<String,String> |
getProperties() |
protected abstract org.mule.runtime.api.util.LazyValue<ToolingApplicationModel> |
newToolingApplicationModelLazyValue() |
protected abstract org.mule.runtime.api.util.LazyValue<org.mule.runtime.deployment.model.internal.tooling.ToolingArtifactClassLoader> |
newToolingArtifactClassLoaderLazyValue() |
void |
setContext(ToolingArtifactContext context)
Sets the
ToolingArtifactContext to be used by this Artifact. |
String |
toString() |
protected ToolingArtifactContext context
protected ArtifactResources artifactResources
protected T extends org.mule.runtime.deployment.model.api.DeployableArtifactDescriptor artifactDescriptor
protected String remoteArtifactId
protected org.mule.runtime.api.util.LazyValue<RuntimeToolingService> runtimeToolingService
protected ArtifactDeployer artifactDeployer
protected org.mule.tooling.client.internal.application.AbstractArtifact.NoFailureConfigurationProperties noFailureConfigurationProperties
public String getId()
public org.mule.runtime.core.api.config.bootstrap.ArtifactType getArtifactType()
getArtifactType in interface ArtifactArtifactType, could be a domain or application.public List<org.mule.runtime.api.meta.model.ExtensionModel> getExtensionModels()
getExtensionModels in interface ArtifactExtensionModel for the artifact.public String getArtifactName()
getArtifactName in interface Artifactpublic Map<String,String> getProperties()
getProperties in interface ArtifactMap with properties for this artifact.public URL getArtifactUrlContent()
getArtifactUrlContent in interface ArtifactURL from which the content of the artifact.public org.mule.runtime.deployment.model.internal.tooling.ToolingArtifactClassLoader getArtifactClassLoader()
getArtifactClassLoader in interface ArtifactToolingArtifactClassLoader for the artifact.public void setContext(ToolingArtifactContext context)
ArtifactToolingArtifactContext to be used by this Artifact. This means that if the Runtime Tooling
Service API has changed and it was cached the remote artifact deployed it will be deployed again.setContext in interface Artifactcontext - ToolingArtifactContext to be used by this Artifactpublic void dispose()
dispose in interface org.mule.tooling.client.api.Disposableprotected void disposeRemoteArtifactContext()
public ToolingApplicationModel getApplicationModel()
getApplicationModel in interface ArtifactToolingApplicationModel for the artifact.protected abstract org.mule.runtime.api.util.LazyValue<org.mule.runtime.deployment.model.internal.tooling.ToolingArtifactClassLoader> newToolingArtifactClassLoaderLazyValue()
protected abstract org.mule.runtime.api.util.LazyValue<ToolingApplicationModel> newToolingApplicationModelLazyValue()
protected List<org.mule.runtime.module.artifact.api.classloader.ArtifactClassLoader> getArtifactPluginClassLoaders()
protected void checkState()
Copyright © 2019 MuleSoft, Inc.. All rights reserved.