C# Class VersionOne.ServiceHost.ConfigurationTool.DL.V1Connector

VersionOne interaction handler.
Afficher le fichier Open project: versionone/VersionOne.Integration.HPALM Class Usage Examples

Méthodes publiques

Méthode Description
Connect ( VersionOneSettings settings ) : void

Create connection to V1 server.

GetCustomFields ( string assetTypeName, FieldType fieldType ) : IList

Gets collection of custom list fields for specified asset type.

GetPrimaryWorkitemTypes ( ) : IEnumerable
GetProjectList ( ) : List
GetReferenceFieldList ( string assetTypeToken ) : List

Get collection of reference fields for asset type.

GetSourceList ( ) : List

Get Source values from VersionOne server

GetStoryStatuses ( ) : string>.IDictionary

Get primary backlog item statuses.

GetTestStatuses ( ) : string>.IDictionary

Get available test statuses.

GetTypeByFieldName ( string fieldSystemName, string assetTypeName ) : string
GetValuesForType ( string typeName ) : IList

Gets values for specified asset type name.

GetWorkitemPriorities ( ) : string>.IDictionary

Get available workitem priorities.

ResetConnection ( ) : void

Reset connection

ValidateConnection ( VersionOneSettings settings ) : bool

Validate V1 connection

Private Methods

Méthode Description
GetFieldList ( IFilterTerm filter, IEnumerable selection ) : AssetList
GetProjectWrapperList ( VersionOne.SDK.APIClient.Asset asset, IAttributeDefinition attrName, int depth ) : IEnumerable
GetPropertyValuesQuery ( string propertyName, IAttributeDefinition &nameDef ) : VersionOne.SDK.APIClient.Query
GetProxy ( ProxyConnectionSettings proxySettings ) : VersionOne.SDK.APIClient.ProxyProvider
QueryPropertyOidValues ( string propertyName ) : IList
QueryPropertyValues ( string propertyName ) : string>.IDictionary
V1Connector ( ) : System

Method Details

Connect() public méthode

Create connection to V1 server.
public Connect ( VersionOneSettings settings ) : void
settings VersionOne.ServiceHost.ConfigurationTool.Entities.VersionOneSettings Connection settings
Résultat void

GetCustomFields() public méthode

Gets collection of custom list fields for specified asset type.
public GetCustomFields ( string assetTypeName, FieldType fieldType ) : IList
assetTypeName string Name of the asset type
fieldType FieldType Field type
Résultat IList

GetPrimaryWorkitemTypes() public méthode

public GetPrimaryWorkitemTypes ( ) : IEnumerable
Résultat IEnumerable

GetProjectList() public méthode

public GetProjectList ( ) : List
Résultat List

GetReferenceFieldList() public méthode

Get collection of reference fields for asset type.
public GetReferenceFieldList ( string assetTypeToken ) : List
assetTypeToken string AssetType token
Résultat List

GetSourceList() public méthode

Get Source values from VersionOne server
public GetSourceList ( ) : List
Résultat List

GetStoryStatuses() public méthode

Get primary backlog item statuses.
public GetStoryStatuses ( ) : string>.IDictionary
Résultat string>.IDictionary

GetTestStatuses() public méthode

Get available test statuses.
public GetTestStatuses ( ) : string>.IDictionary
Résultat string>.IDictionary

GetTypeByFieldName() public méthode

public GetTypeByFieldName ( string fieldSystemName, string assetTypeName ) : string
fieldSystemName string
assetTypeName string
Résultat string

GetValuesForType() public méthode

Gets values for specified asset type name.
public GetValuesForType ( string typeName ) : IList
typeName string Asset type name.
Résultat IList

GetWorkitemPriorities() public méthode

Get available workitem priorities.
public GetWorkitemPriorities ( ) : string>.IDictionary
Résultat string>.IDictionary

ResetConnection() public méthode

Reset connection
public ResetConnection ( ) : void
Résultat void

ValidateConnection() public méthode

Validate V1 connection
public ValidateConnection ( VersionOneSettings settings ) : bool
settings VersionOne.ServiceHost.ConfigurationTool.Entities.VersionOneSettings settings for connection to VersionOne.
Résultat bool