Skip to content

Package: KapuaSchedulerSettingKeys

KapuaSchedulerSettingKeys

nameinstructionbranchcomplexitylinemethod
KapuaSchedulerSettingKeys(String, int, String)
M: 8 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 3 C: 0
0%
M: 1 C: 0
0%
key()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
static {...}
M: 15 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2017, 2020 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech - initial API and implementation
11: *******************************************************************************/
12: package org.eclipse.kapua.service.scheduler.quartz.setting;
13:
14: import org.eclipse.kapua.commons.setting.SettingKey;
15:
16: /**
17: * Available settings key for scheduler service
18: *
19: * @since 1.0
20: *
21: */
22: public enum KapuaSchedulerSettingKeys implements SettingKey {
23: /**
24: * The key value in the configuration resources.
25: */
26: SCHEDULER_KEY("scheduler.key");
27:
28: private String key;
29:
30: /**
31: * Set up the {@code enum} with the key value provided
32: *
33: * @param key
34: * The value mapped by this {@link Enum} value
35: */
36: private KapuaSchedulerSettingKeys(String key) {
37: this.key = key;
38: }
39:
40: /**
41: * Gets the key for this {@link KapuaSchedulerSettingKeys}
42: *
43: */
44: public String key() {
45: return key;
46: }
47: }