MGCLatticeDmfSpecContract
A data management configuration specification: the data projects and recurring data jobs an environment should have.
Methods
new
Initializes a new instance of the MGCLatticeDmfSpecContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeDmfSpecContract class.
- Visibility:
public - Returns:
MGCLatticeDmfSpecContractA new instance.
No parameters.
currentSpecVersion
The specification version this build writes and understands.
- Visibility:
public - Returns:
strThe version.
No parameters.
version10
The first specification version, which carries no field mappings.
- Visibility:
public - Returns:
strThe version.
No parameters.
parmSpecVersion
Gets or sets the specification version.
- Visibility:
public - Returns:
strThe version.
| Name | Type | Optional | Description |
|---|---|---|---|
_specVersion | str | Yes | The version. |
parmDescription
Gets or sets a description of what this specification configures.
- Visibility:
public - Returns:
strThe description.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | str | Yes | The description. |
parmDataProjects
Gets or sets the data projects this specification describes.
- Visibility:
public - Returns:
ListThe data projects.
| Name | Type | Optional | Description |
|---|---|---|---|
_dataProjects | List | Yes | The data projects. |
parmRecurringDataJobs
Gets or sets the recurring data jobs this specification describes.
- Visibility:
public - Returns:
ListThe jobs.
| Name | Type | Optional | Description |
|---|---|---|---|
_recurringDataJobs | List | Yes | The jobs. |
addDataProject
Adds a data project to the specification.
- Visibility:
public - Returns:
void
| Name | Type | Optional | Description |
|---|---|---|---|
_project | MGCLatticeDmfProjectSpecContract | No | The project. |
addRecurringDataJob
Adds a recurring data job to the specification.
- Visibility:
public - Returns:
void
| Name | Type | Optional | Description |
|---|---|---|---|
_job | MGCLatticeDmfJobSpecContract | No | The job. |
toJson
Serializes the specification as the JSON that gets committed to source control.
- Visibility:
public - Returns:
strThe JSON.
No parameters.
fromJson
Reads a specification from the JSON committed to source control.
- Visibility:
public - Returns:
MGCLatticeDmfSpecContractThe specification.
| Name | Type | Optional | Description |
|---|---|---|---|
_json | str | No | The JSON. |
validateVersion
Checks that this build understands the specification's version.
- Visibility:
public - Returns:
void
No parameters.