io.openshift.launchpad.ui.input.Version Maven / Gradle / Ivy
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package io.openshift.launchpad.ui.input;
import javax.inject.Inject;
import org.jboss.forge.addon.ui.input.AbstractUIInputDecorator;
import org.jboss.forge.addon.ui.input.UIInput;
import org.jboss.forge.addon.ui.metadata.WithAttributes;
/**
*
* @author George Gastaldi
*/
public class Version extends AbstractUIInputDecorator
{
@Inject
@WithAttributes(label = "Project version", required = true, defaultValue = "1.0.0-SNAPSHOT")
private UIInput version;
@Override
protected UIInput createDelegate()
{
return version;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy