CommonIntegrator interface implementation
Custom source configuration types must implement the CommonIntegrator interface.
The following example demonstrates such an implementation, in bold:
package com.microfocus.da.sct.samples; import com.microfocus.da.sct.annotations.SourceConfigTypeConfig; import com.microfocus.da.sct.annotations.SourceConfigTypeParam; import com.microfocus.da.sct.dtos.VersionInfo; import com.microfocus.da.sct.interfaces.CommonIntegrator; import com.microfocus.da.sct.interfaces.ComponentInfo; import org.apache.commons.io.FileUtils; import org.apache.commons.lang.StringUtils; import java.io.File; import java.util.*; /** * Custom File System Versioned SCT * */ @SourceConfigTypeConfig(name="Sample File System (Versioned)", versionNumber = "1.0", description = "Sample Source Config type for connecting File System (Versioned) repositories") public class FileSystemVersioned implements CommonIntegrator { <more example code here ...> }
See also: