Package cz.mendelu.xotradov
Class MoveAction
java.lang.Object
cz.mendelu.xotradov.MoveActionWorker
cz.mendelu.xotradov.MoveAction
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,RootAction
Handles request to move one buildable item in a build queue, which is the core functionality of this plugin.
- Author:
- Jaroslav Otradovec
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class cz.mendelu.xotradov.MoveActionWorker
isSorterSet, ITEM_ID_EXT_PARAM_MODE, ITEM_ID_EXT_PARAM_NAME, ITEM_ID_EXT_PARAM_TARGET, ITEM_ID_PARAM_NAME, logger, MOVE_TYPE_PARAM_NAME, VIEW_NAME_PARAM_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoMove(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) Main method responsible for receiving request from userMethods inherited from class cz.mendelu.xotradov.MoveActionWorker
findItemByName, findItemsByPattern, getBottom, getTop, move, move, moveDown, moveDown, moveDownFiltered, moveDownFiltered, moveImpl, moveToBottom, moveToBottom, moveToBottomFiltered, moveToBottomFiltered, moveToTop, moveToTop, moveUp, moveUp, moveUpFiltered, moveUpFiltered, putAOnTopOfB, putAOnTopOfBMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.RootAction
getBadge, isPrimaryAction
-
Constructor Details
-
MoveAction
public MoveAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
doMove
public void doMove(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) Main method responsible for receiving request from user- Parameters:
request- Stapler request from userresponse- Stapler response send back to users browser
-