414415416417418419420421422423
rootContext().commandWithValue( command ); } public Links commandwithvalue() { return new LinksBuilder(module). command( "commandwithvalue" ). addLink( "Command ABC","right" ). addLink( "Command XYZ", "wrong" ).newLinks(); }
674675676677678679680681682683684
implements ResourceIndex<Links> { @Override public Links index() { return new LinksBuilder(module) .addLink( "Page1", "page1") .addLink( "Page2", "page2") .addLink( "Page3", "page3") .newLinks(); }
394395396397398399400401402403404
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(); }