public final class DashboardConfiguration extends Object
DashboardExportSpec
.Modifier and Type | Method and Description |
---|---|
static DashboardConfiguration |
getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository,
String dashboardCode)
Returns a
DashboardConfiguration instance for the default storage configured for the dashbhoard. |
static DashboardConfiguration |
getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository,
String dashboardCode,
String dashboardContextCode)
Deprecated.
Since 2.5.0, the dashboard context is no longer available. Use
getDashboardConfigForDefaultStorage(Repository, String) instead. |
static DashboardConfiguration |
getDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository,
String dashboardCode)
Returns a
DashboardConfiguration instance for integration storage. |
static DashboardConfiguration |
getDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository,
String dashboardCode,
String dashboardContextCode)
Deprecated.
Since 2.5.0, the dashboard context is no longer available. Use
getDashboardConfigForIntegrationStorage(Repository, String) instead. |
static DashboardConfiguration |
getDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository,
String dashboardCode)
Returns a
DashboardConfiguration instance for production storage. |
static DashboardConfiguration |
getDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository,
String dashboardCode,
String dashboardContextCode)
Deprecated.
Since 2.5.0, the dashboard context is no longer available. Use
getDashboardConfigForProductionStorage(Repository, String) instead. |
com.onwbp.adaptation.PrimaryKey |
getDashboardContextKey()
Deprecated.
Since 2.5.0, the dashboard context is removed.
|
com.onwbp.adaptation.PrimaryKey |
getDashboardKey()
Returns the
PrimaryKey of the dashboard. |
com.onwbp.adaptation.PrimaryKey |
getStorageKey()
Returns the
PrimaryKey of the storage. |
public static DashboardConfiguration getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) throws DQIdException
DashboardConfiguration
instance for the default storage configured for the dashbhoard.repository
- The current repository.dashboardCode
- The unique code of the target dashboard.DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid.public static DashboardConfiguration getDashboardConfigForDefaultStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) throws DQIdException
getDashboardConfigForDefaultStorage(Repository, String)
instead.DashboardConfiguration
instance for the default storage configured for the dashbhoard.repository
- The current repository.dashboardCode
- The unique code of the target dashboard.dashboardContextCode
- The unique code of the target dashboard context. This is optional if the dashboard is not configured with any contexts.DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid.public static DashboardConfiguration getDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) throws DQIdException
DashboardConfiguration
instance for production storage.repository
- The current repository.dashboardCode
- The unique code of the target dashboard.DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.public static DashboardConfiguration getDashboardConfigForProductionStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) throws DQIdException
getDashboardConfigForProductionStorage(Repository, String)
instead.DashboardConfiguration
instance for production storage.repository
- The current repository.dashboardCode
- The unique code of the target dashboard.dashboardContextCode
- The unique code of the target dashboard context. This is optional if the dashboard is not configured with any contexts.DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.public static DashboardConfiguration getDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode, String dashboardContextCode) throws DQIdException
getDashboardConfigForIntegrationStorage(Repository, String)
instead.DashboardConfiguration
instance for integration storage.repository
- The current repository.dashboardCode
- The unique code of the target dashboard.dashboardContextCode
- The unique code of the target dashboard context. This is optional if the dashboard is not configured with any contexts.DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.public static DashboardConfiguration getDashboardConfigForIntegrationStorage(com.orchestranetworks.instance.Repository repository, String dashboardCode) throws DQIdException
DashboardConfiguration
instance for integration storage.repository
- The current repository.dashboardCode
- The unique code of the target dashboard.DQIdException
- If the unique code of either the dashboard or the dashboard context is invalid, or the storage is not found.public com.onwbp.adaptation.PrimaryKey getDashboardKey()
PrimaryKey
of the dashboard.public com.onwbp.adaptation.PrimaryKey getDashboardContextKey()
PrimaryKey
of the dashboard context.public com.onwbp.adaptation.PrimaryKey getStorageKey()
PrimaryKey
of the storage.