Sat, 03 Aug 2019 11:02:55 +0200
make targets without name and prefix possible
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package de.unixwork.uwproj; /** * * @author olaf */ public class OptionDefault { private Option option; private String value; private String platform; public OptionDefault(Option opt) { option = opt; } public String getValueName() { return value; } public void setValueName(String value) { this.value = value; } public String getPlatform() { return platform; } public void setPlatform(String platform) { this.platform = platform; } public String getFunc() { return option.getValueFunc(value); } public OptionValue getValue() { for(OptionValue val : option.getValues()) { if(val.getValue().equals(value)) { return val; } } return null; } }