How to Install and Uninstall apache-commons-chain Package on openSUSE Leap

Last updated: May 19,2024

1. Install "apache-commons-chain" package

Please follow the guidelines below to install apache-commons-chain on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install apache-commons-chain

2. Uninstall "apache-commons-chain" package

Please follow the step by step instructions below to uninstall apache-commons-chain on openSUSE Leap:

$ sudo zypper remove apache-commons-chain

3. Information about the apache-commons-chain package on openSUSE Leap

Information for package apache-commons-chain:
---------------------------------------------
Repository : Main Repository
Name : apache-commons-chain
Version : 1.2-bp155.2.13
Arch : noarch
Vendor : openSUSE
Installed Size : 108.6 KiB
Installed : No
Status : not installed
Source package : apache-commons-chain-1.2-bp155.2.13.src
Upstream URL : http://commons.apache.org/chain/
Summary : An implementation of the GoF Chain of Responsibility pattern
Description :
A popular technique for organizing the execution of complex
processing flows is the "Chain of Responsibility" pattern, as
described (among many other places) in the classic "Gang of Four"
design patterns book. Although the fundamental API contracts
required to implement this design pattern are extremely simple,
it is useful to have a base API that facilitates using the pattern,
and (more importantly) encouraging composition of command
implementations from multiple diverse sources.
Towards that end, the Chain API models a computation as a series
of "commands" that can be combined into a "chain". The API for a
command consists of a single method (execute()), which is passed
a "context" parameter containing the dynamic state of the
computation, and whose return value is a boolean that determines
whether or not processing for the current chain has been completed
(true), or whether processing should be delegated to the next
command in the chain (false).

5. The same packages on other Linux Distributions