-
MethodDescriptionThis is just an alias for
PassphraseAgent.unlock(String)
and will be removed in near future. Unlocks this agent.useSemverVersion.getPatch()
insteadUseL2pLogger.log(Long, MonitoringEvent, String, String, String, String, String)
instead. The coupling between nodes and services is softened now.UseContext.monitorEvent(Object, MonitoringEvent, String, boolean)
Writes a log message. The given event can be used to differentiate between different log messages.UseContext.monitorEvent(MonitoringEvent, String)
Writes a log message. The given event can be used to differentiate between different log messages.UseContext.monitorEvent(Object, MonitoringEvent, String, boolean)
Writes a log message. The given event can be used to differentiate between different log messages. The serviceAgent and actingUser can be set tonull
if not known. Then this message will not be monitored by the monitoring observer.UseContext.monitorEvent(Object, MonitoringEvent, String)
Logs a message to the l2p system using the observers. Since this method will/should only be used in an L2pThread, the message will come from a service or a helper, so a SERVICE_MESSAGE is assumed. Then this message will not be monitored by the monitoring observer.UseContext.monitorEvent(Object, MonitoringEvent, String, boolean)
Writes a log message. The given event can be used to differentiate between different log messages. The serviceAgent and actingUser can be set tonull
if not known. Then this message will not be monitored by the monitoring observer.UseLocalNode.fetchEnvelope(String)
insteadUseLocalNode.removeEnvelope(String)
insteadUseNodeStorageInterface.fetchEnvelope(String)
instead Gets an artifact from the p2p storage.UseNodeStorageInterface.fetchEnvelope(String)
instead Gets an artifact from the p2p storage.UseL2pStorageInterface.removeEnvelope(String)
instead Removes an artifact from the p2p storage. NOTE: This is not possible with a FreePastry backend!UseNodeStorageInterface.storeEnvelope(EnvelopeVersion, AgentImpl)
instead Stores an artifact to the p2p storage.UsePastryNodeImpl.fetchEnvelope(String)
insteadUsePastryNodeImpl.fetchEnvelope(String)
insteadUsePastryNodeImpl.removeEnvelope(String)
insteadUsePastryNodeImpl.storeAgent(AgentImpl)
insteadi5.las2peer.registry.contracts.UserRegistry.load(String, Web3j, Credentials, BigInteger, BigInteger) there's no reason to reveal this implementation detail, so this may be removedPlease useServiceAgentImpl.createServiceAgent(ServiceNameVersion, String)
insteadUseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Black
instead!switch background to black
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Blue
instead!switch background to blue
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Cyan
instead!switch background to cyan
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Green
instead!switch background to green
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Magenta
instead!switch background to magenta
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Red
instead!switch background to red
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.White
instead!switch background to white
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Yellow
instead!switch background to yellow
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.Blink
instead!write blinking text
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.Bold
instead!write bold text
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Black
instead!switch to black font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Blue
instead!switch to blue font color
UseColoredOutput.colorize(String, ShellCode...)
anotherColoredOutput.ForegroundColor
instead!switch to brown font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Cyan
instead!switch to cyan font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.DarkGrey
instead!switch to dark grey font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Green
instead!switch to green font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.LightBlue
instead!switch to light blue font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.LightCyan
instead!switch to lighty cyan font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.LightGreen
instead!switch to light green font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.LightGrey
instead!switch to light grey font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.LightMagenta
instead!switch to light magenta font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.LightRed
instead!switch to light red font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Magenta
instead!switch to magenta font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Red
instead!switch to red font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Default
instead!reset to terminal default
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.White
instead!switch to white font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Yellow
instead!switch to yellow font color
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.Reverse
instead!write inverted (swap back- and foreground color)
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.ResetBlink
instead!turn off blinking text
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.ResetBold
instead!turn off bold text
This method is deprecated and will be removed in the future!print some text to the selected printstream
This method is deprecated and will be removed in the future!print some text followed by a newline to the selected print stream
UseColoredOutput.colorize(String, ShellCode...)
with aColoredOutput.ForegroundColor
instead!print a text in the given color
UseColoredOutput.colorize(String, ShellCode...)
with aColoredOutput.ForegroundColor
instead!print some text in the given color to the given printstream
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.Bold
instead!print a line of bold text
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Red
instead!print a line of red text
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.ForegroundColor.Yellow
instead!print a line of yellow text
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.ResetAll
instead!simple reset the console to standard (colors and shape)
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.BackgroundColor.Default
instead!reset background to terminal default
UseColoredOutput.colorize(String, ShellCode...)
instead!write a bash code
UseColoredOutput.colorize(String, ShellCode...)
instead!write several bash codes at once
UseColoredOutput.colorize(String, ShellCode...)
instead!write a color code to the shell
UseColoredOutput.colorize(String, ShellCode...)
withColoredOutput.Formatting.Underlined
instead!write underlined text
UseColoredOutput.colorize(String, ShellCode...)
instead!switch the stream to use for output
UseL2pNodeLauncher.launchConfiguration(L2pNodeLauncherConfiguration)
instead. Launches a single node.UseL2pNodeLauncher.launchConfiguration(L2pNodeLauncherConfiguration)
instead. Launches a single node.UseL2pNodeLauncher.startWebConnector()
instead.UseL2pNodeLauncher.stopWebConnector()
instead.
ColoredOutput.ForegroundColor
instead!A color used by the
ColoredOutput
methods.