Last active
May 29, 2018 19:33
-
-
Save gastaldi/4c948d6d0809f0cc5f8b893417d3efe0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fabric8.launcher.core.api.projectiles; | |
import javax.annotation.Nullable; | |
import io.fabric8.launcher.booster.catalog.rhoar.RhoarBooster; | |
import io.fabric8.launcher.core.api.Projectile; | |
import org.immutables.value.Value; | |
/** | |
* @author <a href="mailto:[email protected]">George Gastaldi</a> | |
*/ | |
public interface CreateProjectile extends Projectile { | |
/** | |
* @return The booster which this projectile refers to | |
*/ | |
RhoarBooster getBooster(); | |
OpenShift getOpenShift(); | |
Git getGit(); | |
@Value | |
interface OpenShift { | |
/** | |
* @return The name to use in creating the new OpenShift project | |
*/ | |
@Nullable | |
String getProjectName(); | |
} | |
@Value | |
interface Git { | |
/** | |
* @return The name to use for the location of the Git project | |
*/ | |
@Nullable | |
String getOrganizationName(); | |
/** | |
* @return The name to use in creating the new Git projects | |
*/ | |
@Nullable | |
String getRepositoryName(); | |
@Value.Default | |
default String getRepositoryDescription() { | |
return "Generated by the Red Hat Developer Launch (https://developers.redhat.com/launch)"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment