Class FileApplicationSource
java.lang.Object
com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
com.aeontronix.enhancedmule.tools.legacy.deploy.FileApplicationSource
- All Implemented Interfaces:
Closeable,AutoCloseable
public class FileApplicationSource extends ApplicationSource
-
Field Summary
Fields inherited from class com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
client -
Constructor Summary
Constructors Constructor Description FileApplicationSource(AnypointClient client, File file) -
Method Summary
Modifier and Type Method Description voidclose()booleanexists()ApplicationDescriptorgetAnypointDescriptor(APIProvisioningConfig apiProvisioningConfig)StringgetArtifactId()StringgetFileName()FilegetLocalFile()Map<String,Object>getSourceJson(JsonHelper jsonHelper)Methods inherited from class com.aeontronix.enhancedmule.tools.legacy.deploy.ApplicationSource
copyAPISpecs, create, readDescriptorFromZip
-
Constructor Details
-
Method Details
-
getFileName
- Specified by:
getFileNamein classApplicationSource
-
getLocalFile
- Specified by:
getLocalFilein classApplicationSource- Throws:
IOException
-
exists
public boolean exists()- Specified by:
existsin classApplicationSource
-
getAnypointDescriptor
public ApplicationDescriptor getAnypointDescriptor(APIProvisioningConfig apiProvisioningConfig) throws IOException- Specified by:
getAnypointDescriptorin classApplicationSource- Throws:
IOException
-
getArtifactId
- Specified by:
getArtifactIdin classApplicationSource
-
getSourceJson
- Specified by:
getSourceJsonin classApplicationSource
-
close
- Throws:
IOException
-