Created constants in API for default tenant type setup.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Copyright (c) 2011-2016 Bosch Software Innovations GmbH, Germany. All rights reserved.
|
||||
*/
|
||||
package org.eclipse.hawkbit.repository;
|
||||
|
||||
import org.eclipse.hawkbit.repository.model.DistributionSetType;
|
||||
import org.eclipse.hawkbit.repository.model.SoftwareModuleType;
|
||||
|
||||
/**
|
||||
* Repository API constants.
|
||||
*
|
||||
*/
|
||||
public final class Constants {
|
||||
/**
|
||||
* Default {@link SoftwareModuleType} generated by repository for every new
|
||||
* account for Firmware/Operating System.
|
||||
*/
|
||||
public static final String SMT_DEFAULT_OS_KEY = "os";
|
||||
/**
|
||||
* Default {@link SoftwareModuleType} generated by repository for every new
|
||||
* account for applications.
|
||||
*/
|
||||
public static final String SMT_DEFAULT_APP_KEY = "application";
|
||||
|
||||
/**
|
||||
* {@link DistributionSetType#getKey()} of a {@link DistributionSetType}
|
||||
* generated by repository for every new account that includes
|
||||
* {@link #SMT_DEFAULT_OS_KEY} as mandatory module and optional
|
||||
* {@link #SMT_DEFAULT_APP_KEY}s.
|
||||
*/
|
||||
public static final String DST_DEFAULT_OS_WITH_APPS_KEY = "os_app";
|
||||
|
||||
/**
|
||||
* {@link DistributionSetType#getName()} of a {@link DistributionSetType}
|
||||
* generated by repository for every new account that includes
|
||||
* {@link #SMT_DEFAULT_OS_KEY} as mandatory module and optional
|
||||
* {@link #SMT_DEFAULT_APP_KEY}s.
|
||||
*/
|
||||
public static final String DST_DEFAULT_OS_WITH_APPS_NAME = "OS with app(s)";
|
||||
|
||||
/**
|
||||
* {@link DistributionSetType#getKey()} of a {@link DistributionSetType}
|
||||
* generated by repository for every new account that includes only
|
||||
* {@link #SMT_DEFAULT_OS_KEY} as mandatory module.
|
||||
*/
|
||||
public static final String DST_DEFAULT_OS_ONLY_KEY = "os";
|
||||
|
||||
/**
|
||||
* {@link DistributionSetType#getName()} of a {@link DistributionSetType}
|
||||
* generated by repository for every new account that includes only
|
||||
* {@link #SMT_DEFAULT_OS_KEY} as mandatory module.
|
||||
*/
|
||||
public static final String DST_DEFAULT_OS_ONLY_NAME = "OS only";
|
||||
|
||||
private Constants() {
|
||||
// Utility class.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user