Class ApplicationSource
java.lang.Object
com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
- All Implemented Interfaces:
APISpecSource,Closeable,AutoCloseable
- Direct Known Subclasses:
ExchangeApplicationSource,FileApplicationSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationSourcecreate(String orgId, LegacyAnypointClient client, String path) abstract booleanexists()abstract com.fasterxml.jackson.databind.node.ObjectNodeabstract ApplicationIdentifierabstract Stringabstract FilegetSourceJson(JsonHelper jsonHelper) protected @Nullable com.fasterxml.jackson.databind.node.ObjectNodereadDescriptorFromZip(File file) abstract com.aeontronix.anypointsdk.amc.application.ApplicationSourcevoidwriteAPISpecFile(String name, OutputStream os)
-
Field Details
-
client
-
applicationIdentifier
-
-
Constructor Details
-
ApplicationSource
-
-
Method Details
-
create
public static ApplicationSource create(String orgId, LegacyAnypointClient client, String path) throws IOException - Throws:
IOException
-
getFileName
-
getLocalFile
- Throws:
IOException
-
exists
public abstract boolean exists() -
getAnypointDescriptor
public abstract com.fasterxml.jackson.databind.node.ObjectNode getAnypointDescriptor() throws IOException, HttpException- Throws:
IOExceptionHttpException
-
readDescriptorFromZip
@Nullable protected @Nullable com.fasterxml.jackson.databind.node.ObjectNode readDescriptorFromZip(File file) throws IOException - Throws:
IOException
-
getArtifactId
-
getApplicationIdentifier
-
getSourceJson
-
listAPISpecFiles
- Specified by:
listAPISpecFilesin interfaceAPISpecSource- Throws:
IOException
-
writeAPISpecFile
- Specified by:
writeAPISpecFilein interfaceAPISpecSource- Throws:
IOException
-
toSDKSource
public abstract com.aeontronix.anypointsdk.amc.application.ApplicationSource toSDKSource()
-