ModulePackageBuilder Class |
Namespace: CMS.Modules
public class ModulePackageBuilder
The ModulePackageBuilder type exposes the following members.
Name | Description | |
---|---|---|
ModulePackageBuilder |
Creates new ModulePackageBuilder for given ResourceInfo (module).
Builder can be created only for modules which are in development (ResourceIsInDevelopment is set to true).
Builder can not be created for CUSTOMSYSTEM.
|
Name | Description | |
---|---|---|
IncludedObjectTypes |
The installation package contains module objects of types enumerated by this property.
The module object type itself ("cms.resource") is not present in the enumeration.
|
Name | Description | |
---|---|---|
BuildPackage(Stream) |
Builds the module installation package to the given stream.
| |
BuildPackage(String) |
Builds the module installation package to the file specified by given path.
| |
GetModuleFiles |
Gets List of relative paths to files that will be included in the installation package.
| |
GetModuleMetadata |
Gets module's package metadata.
| |
GetModuleObjects |
Gets object query for module objects of given type which are included in the installation package.
objectType must be one of those enumerated in IncludedObjectTypes, otherwise returns null.
|