PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/plugin-module-codegen-api/src/main/java/com/atlassian/plugins/codegen/AmpsSystemPropertyVariable.java

https://bitbucket.org/mmeinhold/amps
Java | 24 lines | 17 code | 3 blank | 4 comment | 0 complexity | c2188e8b7d1a02eef5d32178102e385e MD5 | raw file
 1package com.atlassian.plugins.codegen;
 2
 3/**
 4 * Describes an key-value pair that should be added to the <systemPropertyVariables>
 5 * element in AMPS configuration.
 6 */
 7public class AmpsSystemPropertyVariable extends AbstractPropertyValue implements PluginProjectChange
 8{
 9    public static AmpsSystemPropertyVariable ampsSystemPropertyVariable(String name, String value)
10    {
11        return new AmpsSystemPropertyVariable(name, value);
12    }
13
14    private AmpsSystemPropertyVariable(String name, String value)
15    {
16        super(name, value);
17    }
18    
19    @Override
20    public String toString()
21    {
22        return "[systemPropertyVariable: " + super.toString() + "]";
23    }
24}