|
SAS Data Integration Studio 4.3 Version Control Plugin Reference |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface VersionControlPluginInterface
Classes implementing this interface will be loaded by the com.sas.metadata.archive plugin and used to interface with a specific version control system. The archive plugin will load the first plugin of this type that it finds, so be sure to remove unwanted implementations of this interface.
Classes that implement this interface should also implement the com.sas.wadmin.app.ApplicationOptionsPluginInterface so that their options panel can be displayed.
| Method Summary | |
|---|---|
boolean |
commit(ArchiveInfo archive,
java.lang.String spk_path)
This method will take an ArchiveInfo object and a path on the local disk to an SPK file that has just been exported from DIS. |
boolean |
edit(ArchiveInfo archive,
ArchiveInfo newArchive)
Used for changing or renaming an existing archive. |
java.util.List<ArchiveInfo> |
getArchives()
Returns a list containing data about every version of every archive on the version control system. |
java.util.Properties |
getConfigurationProperties()
Returns a map containing key/value pairs of all the VCS specific connection information, such as server information, etc. |
ArchiveInfo |
getPreviousArchive(ArchiveInfo current)
This method will analyze the version of the archive passed in and return the ArchiveInfo that is one version older, or null if no previous version exists. |
boolean |
isConfigurationCorrect()
This will perform a test login to the version control system and return true if the login was successful, false otherwise. |
boolean |
isTypePasswordInCmdWin()
Some version control systems require that the user enter his or her password at a command prompt. |
boolean |
remove(ArchiveInfo archive)
This will remove the specified archive from the VCS system. |
boolean |
retrieve(ArchiveInfo archive,
java.lang.String spk_path)
This method will take an ArchiveInfo object and a path on the local disk. |
void |
setConfigurationProperties(java.util.Properties props)
Initializes the plugin with the data needed for operation. |
| Method Detail |
|---|
boolean isConfigurationCorrect()
boolean isTypePasswordInCmdWin()
boolean commit(ArchiveInfo archive,
java.lang.String spk_path)
archive - the ArchiveInfo object to be stored to the version control
system.spk_path - The path where the archived was exported to.
boolean retrieve(ArchiveInfo archive,
java.lang.String spk_path)
archive - an ArchiveInfo object representing the archive to be retrieved.spk_path - The path where the retrieved file should be stored.
ArchiveInfo getPreviousArchive(ArchiveInfo current)
current - The current version of the ArchiveInfo
boolean remove(ArchiveInfo archive)
archive - the ArchiveInfo object to be removed from the version control
system.
boolean edit(ArchiveInfo archive,
ArchiveInfo newArchive)
archive - The current ArchiveInfo objectnewArchive - The newer ArchiveInfo object, which will replace the
old one.
java.util.Properties getConfigurationProperties()
void setConfigurationProperties(java.util.Properties props)
props - a Properties object containing a set of key/value pairs
representing all the information that the plugin needs to store between
sessions.java.util.List<ArchiveInfo> getArchives()
|
SAS Data Integration Studio 4.3 Version Control Plugin Reference |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||