Class DummyLicenseValidator
java.lang.Object
io.confluent.license.validator.DummyLicenseValidator
- All Implemented Interfaces:
Closeable,AutoCloseable,Supplier<org.apache.kafka.server.license.LicenseTrackingInfoHolder>,org.apache.kafka.common.Configurable,org.apache.kafka.server.license.LicenseValidator
public class DummyLicenseValidator
extends Object
implements org.apache.kafka.server.license.LicenseValidator
A dummy implementation of LicenseValidator for use with integration tests.
This can be used by adding a META-INF/services/org.apache.kafka.server.license.LicenseValidator file
that points to this class. See clients/clients-integration-tests for an example.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DummyLicenseValidator
public DummyLicenseValidator()
-
-
Method Details
-
enabled
public boolean enabled()- Specified by:
enabledin interfaceorg.apache.kafka.server.license.LicenseValidator
-
start
- Specified by:
startin interfaceorg.apache.kafka.server.license.LicenseValidator
-
isLicenseValid
public boolean isLicenseValid()- Specified by:
isLicenseValidin interfaceorg.apache.kafka.server.license.LicenseValidator
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
get
-
configure
-