public class ErlangVersionChecker extends Object
| Constructor and Description |
|---|
ErlangVersionChecker(EmbeddedRabbitMqConfig config) |
ErlangVersionChecker(String minErlangVersion,
ErlangShell erlangShell) |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
Retrieves the current system's Erlang version to compare it to the minimum required version.
|
public ErlangVersionChecker(EmbeddedRabbitMqConfig config)
public ErlangVersionChecker(String minErlangVersion, ErlangShell erlangShell)
public void check()
throws ErlangVersionException
The system's Erlang version is always retrieved, but the comparison might be skipped if the RabbitMQ version doesn't specify a minimum required version.
ErlangVersionException - if the minimum required version is not met or if it can't be determined.Copyright © 2016–2017. All rights reserved.