Class FileApplicationSource
java.lang.Object
com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
com.aeontronix.enhancedmule.tools.legacy.deploy.FileApplicationSource
- All Implemented Interfaces:
APISpecSource,Closeable,AutoCloseable
-
Field Summary
Fields inherited from class com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
applicationIdentifier, client -
Constructor Summary
ConstructorsConstructorDescriptionFileApplicationSource(LegacyAnypointClient client, File file) FileApplicationSource(LegacyAnypointClient client, File file, ApplicationIdentifier applicationIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanexists()com.fasterxml.jackson.databind.node.ObjectNodegetSourceJson(JsonHelper jsonHelper) com.aeontronix.anypointsdk.amc.application.ApplicationSourceMethods inherited from class com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
create, getArtifactId, listAPISpecFiles, readDescriptorFromZip, writeAPISpecFile
-
Constructor Details
-
FileApplicationSource
-
FileApplicationSource
public FileApplicationSource(LegacyAnypointClient client, File file, ApplicationIdentifier applicationIdentifier)
-
-
Method Details
-
getFileName
- Specified by:
getFileNamein classApplicationSource
-
getLocalFile
- Specified by:
getLocalFilein classApplicationSource- Throws:
IOException
-
exists
public boolean exists()- Specified by:
existsin classApplicationSource
-
getAnypointDescriptor
- Specified by:
getAnypointDescriptorin classApplicationSource- Throws:
IOException
-
getApplicationIdentifier
- Specified by:
getApplicationIdentifierin classApplicationSource
-
getSourceJson
- Specified by:
getSourceJsonin classApplicationSource
-
toSDKSource
public com.aeontronix.anypointsdk.amc.application.ApplicationSource toSDKSource()- Specified by:
toSDKSourcein classApplicationSource
-
close
- Throws:
IOException
-