Class AdoptDirectoryLayoutGovernanceActionConnector

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, GovernanceActionService

public class AdoptDirectoryLayoutGovernanceActionConnector extends GeneralGovernanceActionService
AdoptDirectoryLayoutGovernanceActionConnector turns a proposed layout into the layout standard for a directory. The folder survey proposes a layout for a directory that has none (layoutAnalysis request parameter set to VALIDATE_OR_PROPOSE). Once a steward has reviewed the proposal, this service stores it as a DirectorySchemaType so that later surveys check the directory against it.
  • The action target is either the directory (FileFolder) or the DirectoryStructureAnnotation that holds the proposal. When it is the directory, the most recent proposal for it is used.
  • The layoutTemplate request parameter replaces the proposal - use it to adopt a layout that the steward has corrected.
  • If the enforcementMode request parameter is set, a LayoutStandardRule with that mode is created, linked to the layout with ImplementedBy and to the directory with GovernedBy. Otherwise the layout is attached to the directory with the Schema relationship and is advisory.
  • A proposal whose homogeneity is lower than the minimumHomogeneity request parameter is not adopted.
  • A directory that already has a layout standard is not changed.
The output guard is layout-adopted if a layout was adopted for at least one action target.