ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.vci.client.omd.btm.toOutside;
 
/**
 * 外界注入该项目的数据
 * @author Administrator
 *
 */
public class Datacenter {
    
    private static Datacenter dataInjected = null;
    private String[] lCyleNames = null;
    private String[] revNames = null;
    private Datacenter(){
        
    }
    
    public static Datacenter getInstance(){
        if(dataInjected == null){
            dataInjected = new Datacenter();
        }
        return dataInjected;
    }
    
    /**
     * 链接类型设置生命周期名字列表
     * @param names
     */
    public void setLCyleNames(String[] names){
        this.lCyleNames = names;
    }
    
    /**
     * 获取生命周期名字列表
     * @return
     */
    public String[] getLCyleNames(){
        return this.lCyleNames;
    }
    
    /**
     * 链接类型设置版本名字列表
     * @param names
     */
    public void setRevNames(String[] names){
        this.revNames = names;
    }
    
    /**
     * 获取版本名列表
     * @return
     */
    public String[] getRevNames(){
        return this.revNames;
    }
}