public interface Actionable
Modifier and Type | Method and Description |
---|---|
Map<String,Runnable> |
actions(Object... target)
Return a map with command names (potentially localized) and a Runnable.
|
String |
title(Object... target)
Provide a title for an element.
|
String |
tooltip(Object... target)
Return a tooltip for the given target or the encompassing entity if null
is passed.
|
Map<String,Runnable> actions(Object... target) throws Exception
target
- the target object, null if commands for the encompassing
entity is sought (e.g. the repo itself).Exception
String tooltip(Object... target) throws Exception
target
- the target, any number of parameters to identifyException
Copyright © 2021 aQute SARL. All rights reserved.