Package org.qi4j.library.rest.common.link

Examples of org.qi4j.library.rest.common.link.LinksBuilder


            rootContext().commandWithValue( command );
        }

        public Links commandwithvalue()
        {
            return new LinksBuilder(module).
                command( "commandwithvalue" ).
                addLink( "Command ABC","right" ).
                addLink( "Command XYZ", "wrong" ).newLinks();
        }
View Full Code Here


        implements ResourceIndex<Links>
    {
        @Override
        public Links index()
        {
            return new LinksBuilder(module)
                    .addLink( "Page1", "page1")
                    .addLink( "Page2", "page2")
                    .addLink( "Page3", "page3")
                    .newLinks();
        }
View Full Code Here

            rootContext().runBuildOn( run.entity().get() );
        }

        public Links runbuild()
        {
            return new LinksBuilder( module ).
                command( "runbuild" ).
                addLink( "On available agent", "any" ).
                addLink( "On LinuxAgent", "LinuxAgent" ).
                addLink( "On WinAgent", "WinAgent" ).newLinks();
        }
View Full Code Here

TOP

Related Classes of org.qi4j.library.rest.common.link.LinksBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.