trigger

Simple command pattern implementation

License

License

The Apache Software License, Version 2.0
GroupId

GroupId

com.bartoszlipinski
ArtifactId

ArtifactId

trigger
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

trigger
Simple command pattern implementation
Project URL

Project URL

https://github.com/blipinsk/Trigger
Source Code Management

Source Code Management

https://github.com/blipinsk/Trigger.git

Download trigger

How to add to project

<!-- https://jarcasting.com/artifacts/com.bartoszlipinski/trigger/ -->
<dependency>
    <groupId>com.bartoszlipinski</groupId>
    <artifactId>trigger</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.bartoszlipinski/trigger/
implementation 'com.bartoszlipinski:trigger:1.0.0'
// https://jarcasting.com/artifacts/com.bartoszlipinski/trigger/
implementation ("com.bartoszlipinski:trigger:1.0.0")
'com.bartoszlipinski:trigger:aar:1.0.0'
<dependency org="com.bartoszlipinski" name="trigger" rev="1.0.0">
  <artifact name="trigger" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.bartoszlipinski', module='trigger', version='1.0.0')
)
libraryDependencies += "com.bartoszlipinski" % "trigger" % "1.0.0"
[com.bartoszlipinski/trigger "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

DEPRECATED

This is pretty much useless, when we have lambdas.

No new development will be taking place. This library will not be maintained.

Thanks for all the support!!!

Trigger

Simple command pattern helper class.

Let's be honest... that's just a simple class, but it can sometimes tidy up your code quite a bit. It uses java generics and intuitive class naming, so you can easily create a method reference or just a callback, just like you wanted.

Usage

Check USAGE.md

Developed by

  • Bartosz Lipiński

License

Copyright 2016 Bartosz Lipiński

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.0.0