Skip to content

Instantly share code, notes, and snippets.

View gastaldi's full-sized avatar
🏠
Working from home

George Gastaldi gastaldi

🏠
Working from home
View GitHub Profile
/*
* Copyright 2013 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 org.jboss.forge.ui.input;
import java.util.concurrent.Callable;
/*
* Copyright 2013 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 org.jboss.forge.convert;
import java.util.Arrays;
/*
* Copyright 2013 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 org.jboss.forge.ui;
public interface UIMetadata
source 'https://rubygems.org'
gem "archive-tar-minitar", '0.5.2'
gem "awestruct", '0.4.5'
gem "bootstrap-sass", '2.0.4.0'
gem "chunky_png", '1.2.5'
gem "coffee-script", '2.2.0'
gem "coffee-script-source", '1.3.3'
gem "commander", '4.1.2'
gem "compass", '0.12.2'
package org.jboss.forge.container;
import java.io.File;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
UI.create("persistence")
.withInteractions(
Interaction.defaultInteraction()
.withParam(Param.named("a")),
Interaction.named("setup")
.withParam(Param.named("provider").required())
)
/*
* Copyright 2012 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 org.jboss.forge.parser.java.util;
import java.util.Arrays;
@gastaldi
gastaldi / ForgeStart.java
Created November 29, 2012 17:15
Starting and deploying in a Forge embedded container
/*
* Copyright 2012 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
*/
import java.io.File;
import java.util.ServiceLoader;
/*
* Copyright 2012 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 org.jboss.forge.maven.container;
import java.util.ArrayList;
/*
* Copyright 2012 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 org.jboss.forge.maven.dependencies;
import static org.junit.Assert.assertTrue;