All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.windup.graph.model.resource.WarArchive Maven / Gradle / Ivy

The newest version!
package org.jboss.windup.graph.model.resource;

import org.jboss.windup.graph.model.meta.javaclass.EjbEntityFacet;
import org.jboss.windup.graph.model.meta.javaclass.EjbSessionBeanFacet;
import org.jboss.windup.graph.model.meta.javaclass.SpringBeanFacet;
import org.jboss.windup.graph.model.meta.xml.EjbConfigurationFacet;

import com.tinkerpop.frames.annotations.gremlin.GremlinGroovy;
import com.tinkerpop.frames.modules.typedgraph.TypeValue;

@TypeValue("WarArchiveResource")
public interface WarArchive extends JarArchive {

	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource')")
	public Iterable getJars();
	
	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource').out('child').out('xmlResourceFacet').as('xml').out('xmlFacet').has('type', 'EJBConfigurationFacet')")
	public Iterable getEjbConfigurations();
	
	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource').out('child').out('xmlResourceFacet').as('xml').out('xmlFacet').has('type', 'SpringConfigurationFacet')")
	public Iterable getSpringConfigurations();
	
	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource').out('child').out('javaClassFacet').out('javaFacet').has('type', 'EJBSessionBean')")
	public Iterable getEjbSessionBeans();
	
	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource').out('child').out('javaClassFacet').out('javaFacet').has('type', 'MessageDrivenBeanFacet')")
	public Iterable getMessageDrivenBeans();
	
	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource').out('child').out('javaClassFacet').out('javaFacet').has('type', 'EJBEntityFacet')")
	public Iterable getEjbEntityBeans();
	
	@GremlinGroovy("it.out('child').has('type', 'JarArchiveResource').out('child').out('javaClassFacet').out('javaFacet').has('type', 'SpringBeanFacet')")
	public Iterable getSpringBeans();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy