public class SMAPackage extends Object
Constructor and Description |
---|
SMAPackage(List<SMAMetadata> contents,
boolean destructiveChange)
Constructor for SMAPackage
Takes the SMAMetdata contents that are to be represented by the manifest file and generates a Package for deployment
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsApex()
Returns whether or not this package contains Apex components
|
List<SMAMetadata> |
getContents() |
String |
getName()
Returns the name of the manifest file for this SMAPackage
|
String |
getPackage()
Transforms the Package into a ByteArray
|
public SMAPackage(List<SMAMetadata> contents, boolean destructiveChange) throws Exception
contents
- destructiveChange
- Exception
public List<SMAMetadata> getContents()
public String getName()
public String getPackage() throws Exception
Exception
public boolean containsApex()
Copyright © 2004-2016. All Rights Reserved.