24 package org.lightjason.agentspeak.action.builtin;
31 import javax.annotation.Nonnull;
32 import java.util.Arrays;
33 import java.util.List;
34 import java.util.logging.Logger;
35 import java.util.
stream.IntStream;
73 final List<String> l_names = Arrays.asList( this.getClass().getCanonicalName().split(
"\\." ) );
74 l_names.set( l_names.size() - 1, l_names.get( l_names.size() - 1 ).substring( 1 ) );
77 IntStream.range( Math.max( 0, l_names.size() - p_length ), l_names.size() )
78 .mapToObj( l_names::get )
base class of build-in actions for setting name by package/classname (without prefix character) ...
default implementation of an action
class to create a path structure
Stream< String > stream()
stream over elements
static Logger logger(final Class<?> p_class)
returns a logger instance
final IPath m_name
action name
class for any helper calls
static final Logger LOGGER
logger
IBuiltinAction(final int p_length)
ctor
final IPath name()
returns the name with path of the action
static final long serialVersionUID
serial id