code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
protected void addAllPasswordChecker(List<PasswordEncryptor> list) { for (PasswordEncryptor encryptor : list) { addPasswordCheckerAndThrowErrorIfAlreadyAvailable(encryptor); } }
Different Camunda versions use different hashing algorithms. In addition, it is possible to add a custom hashing algorithm. The {@link PasswordManager} ensures that the right algorithm is used for the encryption. Default algorithms: Version: | Algorithm <= Camunda 7.6 | SHA1 >= Camunda 7.7 | SHA51...
addAllPasswordChecker
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
Apache-2.0
protected void addPasswordCheckerAndThrowErrorIfAlreadyAvailable(PasswordEncryptor encryptor) { if(passwordChecker.containsKey(encryptor.hashAlgorithmName())){ throw LOG.hashAlgorithmForPasswordEncryptionAlreadyAvailableException(encryptor.hashAlgorithmName()); } passwordChecker.put(encryptor.hashAlgo...
Different Camunda versions use different hashing algorithms. In addition, it is possible to add a custom hashing algorithm. The {@link PasswordManager} ensures that the right algorithm is used for the encryption. Default algorithms: Version: | Algorithm <= Camunda 7.6 | SHA1 >= Camunda 7.7 | SHA51...
addPasswordCheckerAndThrowErrorIfAlreadyAvailable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
Apache-2.0
protected void addDefaultEncryptor(PasswordEncryptor defaultPasswordEncryptor) { this.defaultPasswordEncryptor = defaultPasswordEncryptor; passwordChecker.put(defaultPasswordEncryptor.hashAlgorithmName(), defaultPasswordEncryptor); }
Different Camunda versions use different hashing algorithms. In addition, it is possible to add a custom hashing algorithm. The {@link PasswordManager} ensures that the right algorithm is used for the encryption. Default algorithms: Version: | Algorithm <= Camunda 7.6 | SHA1 >= Camunda 7.7 | SHA51...
addDefaultEncryptor
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
Apache-2.0
public String encrypt(String password){ String prefix = prefixHandler.generatePrefix(defaultPasswordEncryptor.hashAlgorithmName()); return prefix + defaultPasswordEncryptor.encrypt(password); }
Different Camunda versions use different hashing algorithms. In addition, it is possible to add a custom hashing algorithm. The {@link PasswordManager} ensures that the right algorithm is used for the encryption. Default algorithms: Version: | Algorithm <= Camunda 7.6 | SHA1 >= Camunda 7.7 | SHA51...
encrypt
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
Apache-2.0
public boolean check(String password, String encrypted){ PasswordEncryptor encryptor = getCorrectEncryptorForPassword(encrypted); String encryptedPasswordWithoutPrefix = prefixHandler.removePrefix(encrypted); ensureNotNull("encryptedPasswordWithoutPrefix", encryptedPasswordWithoutPrefix); return encrypt...
Different Camunda versions use different hashing algorithms. In addition, it is possible to add a custom hashing algorithm. The {@link PasswordManager} ensures that the right algorithm is used for the encryption. Default algorithms: Version: | Algorithm <= Camunda 7.6 | SHA1 >= Camunda 7.7 | SHA51...
check
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
Apache-2.0
protected PasswordEncryptor getCorrectEncryptorForPassword(String encryptedPassword) { String hashAlgorithmName = prefixHandler.retrieveAlgorithmName(encryptedPassword); if(hashAlgorithmName == null || !passwordChecker.containsKey(hashAlgorithmName)){ throw LOG.cannotResolveAlgorithmPrefixFromGivenPasswor...
Different Camunda versions use different hashing algorithms. In addition, it is possible to add a custom hashing algorithm. The {@link PasswordManager} ensures that the right algorithm is used for the encryption. Default algorithms: Version: | Algorithm <= Camunda 7.6 | SHA1 >= Camunda 7.7 | SHA51...
getCorrectEncryptorForPassword
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/PasswordManager.java
Apache-2.0
@Override public String hashAlgorithmName() { return "SHA-512"; }
<p>{@link PasswordEncryptor} implementation using base64 encoded SHA-512 password hashes</p>
hashAlgorithmName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/Sha512HashDigest.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/Sha512HashDigest.java
Apache-2.0
@Override public String hashAlgorithmName() { return "SHA"; }
<p>{@link PasswordEncryptor} implementation using base64 encoded SHA password hashes</p> @author Daniel Meyer
hashAlgorithmName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/ShaHashDigest.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/ShaHashDigest.java
Apache-2.0
public boolean isUrlSafe() { return this.encodeTable == URL_SAFE_ENCODE_TABLE; }
Returns our current encode mode. True if we're URL-SAFE, false otherwise. @return true if we're in URL-SAFE mode, false otherwise. @since 1.4
isUrlSafe
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
boolean hasData() { return this.buffer != null; }
Returns true if this Base64 object has buffered data for reading. @return true if there is Base64 object still available for reading.
hasData
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
int avail() { return buffer != null ? pos - readPos : 0; }
Returns the amount of buffered data available for reading. @return The amount of buffered data available for reading.
avail
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
int readResults(byte[] b, int bPos, int bAvail) { if (buffer != null) { int len = Math.min(avail(), bAvail); if (buffer != b) { System.arraycopy(buffer, readPos, b, bPos, len); readPos += len; if (readPos >= pos) { buffe...
Extracts buffered data into the provided byte[] array, starting at position bPos, up to a maximum of bAvail bytes. Returns how many bytes were actually extracted. @param b byte[] array to extract the buffered data into. @param bPos position in byte[] array to start extraction at. @param bAvail ...
readResults
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
void setInitialBuffer(byte[] out, int outPos, int outAvail) { // We can re-use consumer's original output array under // special circumstances, saving on some System.arraycopy(). if (out != null && out.length == outAvail) { buffer = out; pos = outPos; readPos ...
Sets the streaming buffer. This is a small optimization where we try to buffer directly to the consumer's output array for one round (if the consumer calls this method first) instead of starting our own buffer. @param out byte[] array to buffer directly to. @param outPos Position to start bufferi...
setInitialBuffer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static boolean isBase64(byte octet) { return octet == PAD || (octet >= 0 && octet < DECODE_TABLE.length && DECODE_TABLE[octet] != -1); }
Returns whether or not the <code>octet</code> is in the base 64 alphabet. @param octet The value to test @return <code>true</code> if the value is defined in the the base 64 alphabet, <code>false</code> otherwise. @since 1.4
isBase64
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static boolean isArrayByteBase64(byte[] arrayOctet) { for (int i = 0; i < arrayOctet.length; i++) { if (!isBase64(arrayOctet[i]) && !isWhiteSpace(arrayOctet[i])) { return false; } } return true; }
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet. Currently the method treats whitespace as valid. @param arrayOctet byte array to test @return <code>true</code> if all bytes are valid characters in the Base64 alphabet or if the byte array is empty; fal...
isArrayByteBase64
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
private static boolean containsBase64Byte(byte[] arrayOctet) { for (int i = 0; i < arrayOctet.length; i++) { if (isBase64(arrayOctet[i])) { return true; } } return false; }
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet. @param arrayOctet byte array to test @return <code>true</code> if any byte is a valid character in the Base64 alphabet; false herwise
containsBase64Byte
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static byte[] encodeBase64(byte[] binaryData) { return encodeBase64(binaryData, false); }
Encodes binary data using the base64 algorithm but does not chunk the output. @param binaryData binary data to encode @return byte[] containing Base64 characters in their UTF-8 representation.
encodeBase64
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static String encodeBase64String(byte[] binaryData) { return StringUtils.newStringUtf8(encodeBase64(binaryData, true)); }
Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF. @param binaryData binary data to encode @return String containing Base64 characters. @since 1.4
encodeBase64String
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static byte[] encodeBase64Chunked(byte[] binaryData) { return encodeBase64(binaryData, true); }
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks @param binaryData binary data to encode @return Base64 characters chunked in 76 character blocks
encodeBase64Chunked
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public Object decode(Object pObject) { if (pObject instanceof byte[]) { return decode((byte[]) pObject); } else if (pObject instanceof String) { return decode((String) pObject); } else { throw new RuntimeException("Parameter supplied to Base64 decode i...
Decodes an Object using the base64 algorithm. This method is provided in order to satisfy the requirements of the Decoder interface, and will throw a DecoderException if the supplied object is not of type byte[] or String. @param pObject Object to decode @return An object (of type byte[]) containing the bin...
decode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public byte[] decode(String pArray) { return decode(StringUtils.getBytesUtf8(pArray)); }
Decodes a String containing containing characters in the Base64 alphabet. @param pArray A String containing Base64 character data @return a byte array containing binary data @since 1.4
decode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public byte[] decode(byte[] pArray) { reset(); if (pArray == null || pArray.length == 0) { return pArray; } long len = (pArray.length * 3) / 4; byte[] buf = new byte[(int) len]; setInitialBuffer(buf, 0, buf.length); decode(pArray, 0, pArray.length); ...
Decodes a byte[] containing containing characters in the Base64 alphabet. @param pArray A byte array containing Base64 character data @return a byte array containing binary data
decode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static byte[] encodeBase64(byte[] binaryData, boolean isChunked) { return encodeBase64(binaryData, isChunked, false); }
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks. @param binaryData Array containing binary data to encode. @param isChunked if <code>true</code> this encoder will chunk the base64 output into 76 character blocks @return Base64-encoded data. ...
encodeBase64
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static byte[] decodeBase64(String base64String) { return new Base64().decode(base64String); }
Decodes a Base64 String into octets @param base64String String containing Base64 data @return Array containing decoded data. @since 1.4
decodeBase64
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static byte[] decodeBase64(byte[] base64Data) { return new Base64().decode(base64Data); }
Decodes Base64 data into octets @param base64Data Byte array containing Base64 data @return Array containing decoded data.
decodeBase64
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
static byte[] discardWhitespace(byte[] data) { byte groomedData[] = new byte[data.length]; int bytesCopied = 0; for (int i = 0; i < data.length; i++) { switch (data[i]) { case ' ' : case '\n' : case '\r' : case '\t' : ...
Discards any whitespace from a base-64 encoded block. @param data The base-64 encoded data to discard the whitespace from. @return The data, less whitespace (see RFC 2045). @deprecated This method is no longer needed
discardWhitespace
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
private static boolean isWhiteSpace(byte byteToCheck) { switch (byteToCheck) { case ' ' : case '\n' : case '\r' : case '\t' : return true; default : return false; } }
Checks if a byte value is whitespace or not. @param byteToCheck the byte to check @return true if byte is whitespace, false otherwise
isWhiteSpace
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public Object encode(Object pObject) { if (!(pObject instanceof byte[])) { throw new RuntimeException("Parameter supplied to Base64 encode is not a byte[]"); } return encode((byte[]) pObject); }
Encodes an Object using the base64 algorithm. This method is provided in order to satisfy the requirements of the Encoder interface, and will throw an EncoderException if the supplied object is not of type byte[]. @param pObject Object to encode @return An object (of type byte[]) containing the base64 encod...
encode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public String encodeToString(byte[] pArray) { return StringUtils.newStringUtf8(encode(pArray)); }
Encodes a byte[] containing binary data, into a String containing characters in the Base64 alphabet. @param pArray a byte array containing binary data @return A String containing only Base64 character data @since 1.4
encodeToString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public byte[] encode(byte[] pArray) { reset(); if (pArray == null || pArray.length == 0) { return pArray; } long len = getEncodeLength(pArray, lineLength, lineSeparator); byte[] buf = new byte[(int) len]; setInitialBuffer(buf, 0, buf.length); e...
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet. @param pArray a byte array containing binary data @return A byte array containing only Base64 character data
encode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
private static long getEncodeLength(byte[] pArray, int chunkSize, byte[] chunkSeparator) { // base64 always encodes to multiples of 4. chunkSize = (chunkSize / 4) * 4; long len = (pArray.length * 4) / 3; long mod = len % 4; if (mod != 0) { len += 4 - mod; } ...
Pre-calculates the amount of space needed to base64-encode the supplied array. @param pArray byte[] array which will later be encoded @param chunkSize line-length of the output (<= 0 means no chunking) between each chunkSeparator (e.g. CRLF). @param chunkSeparator the sequence of bytes used to separate chunks o...
getEncodeLength
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static BigInteger decodeInteger(byte[] pArray) { return new BigInteger(1, decodeBase64(pArray)); }
Decodes a byte64-encoded integer according to crypto standards such as W3C's XML-Signature @param pArray a byte array containing base64 character data @return A BigInteger @since 1.4
decodeInteger
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static byte[] encodeInteger(BigInteger bigInt) { if (bigInt == null) { throw new NullPointerException("encodeInteger called with null parameter"); } return encodeBase64(toIntegerBytes(bigInt), false); }
Encodes to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature @param bigInt a BigInteger @return A byte array containing base64 character data @throws NullPointerException if null is passed in @since 1.4
encodeInteger
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
static byte[] toIntegerBytes(BigInteger bigInt) { int bitlen = bigInt.bitLength(); // round bitlen bitlen = ((bitlen + 7) >> 3) << 3; byte[] bigBytes = bigInt.toByteArray(); if (((bigInt.bitLength() % 8) != 0) && (((bigInt.bitLength() / 8) + 1) == (bitlen / 8))) { re...
Returns a byte-array representation of a <code>BigInteger</code> without sign bit. @param bigInt <code>BigInteger</code> to be converted @return a byte array representation of the BigInteger parameter
toIntegerBytes
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
private void reset() { buffer = null; pos = 0; readPos = 0; currentLinePos = 0; modulus = 0; eof = false; }
Resets this Base64 object to its initial newly constructed state.
reset
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/Base64.java
Apache-2.0
public static String newStringUtf8(byte[] bytes) { return StringUtils.newString(bytes, UTF_8); }
Constructs a new <code>String</code> by decoding the specified array of bytes using the UTF-8 charset. @param bytes The bytes to be decoded into characters @return A new <code>String</code> decoded from the specified array of bytes using the given charset. @throws IllegalStateException Thrown wh...
newStringUtf8
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/StringUtils.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/StringUtils.java
Apache-2.0
public static byte[] getBytesUtf8(String string) { return StringUtils.getBytesUnchecked(string, UTF_8); }
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result into a new byte array. @param string the String to encode @return encoded bytes @throws IllegalStateException Thrown when the charset is missing, which should be never according the the Java specificati...
getBytesUtf8
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/StringUtils.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/digest/_apacheCommonsCodec/StringUtils.java
Apache-2.0
@Override public Object execute(CommandContext commandContext) { ensureNotNull("decisionDefinitionId", decisionDefinitionId); DecisionDefinitionEntity decisionDefinition = commandContext .getDecisionDefinitionManager() .findDecisionDefinitionById(decisionDefinitionId); ensureNotNull("No d...
Deletes historic decision instances with the given id of the decision definition. @author Philipp Ossler
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByDefinitionIdCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByDefinitionIdCmd.java
Apache-2.0
protected void writeUserOperationLog(CommandContext commandContext, long numInstances) { List<PropertyChange> propertyChanges = new ArrayList<PropertyChange>(); propertyChanges.add(new PropertyChange("nrOfInstances", null, numInstances)); propertyChanges.add(new PropertyChange("async", null, false)); c...
Deletes historic decision instances with the given id of the decision definition. @author Philipp Ossler
writeUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByDefinitionIdCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByDefinitionIdCmd.java
Apache-2.0
protected long getDecisionInstanceCount(CommandContext commandContext) { HistoricDecisionInstanceQueryImpl historicDecisionInstanceQuery = new HistoricDecisionInstanceQueryImpl(); historicDecisionInstanceQuery.decisionDefinitionId(decisionDefinitionId); return commandContext.getHistoricDecisionInstanceMana...
Deletes historic decision instances with the given id of the decision definition. @author Philipp Ossler
getDecisionInstanceCount
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByDefinitionIdCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByDefinitionIdCmd.java
Apache-2.0
@Override public Object execute(CommandContext commandContext) { ensureNotNull("historicDecisionInstanceId", historicDecisionInstanceId); HistoricDecisionInstance historicDecisionInstance = commandContext .getHistoricDecisionInstanceManager() .findHistoricDecisionInstance(historicDecisionInst...
Deletes historic decision instances with the given id of the instance. @author Johannes Heinemann
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByInstanceIdCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByInstanceIdCmd.java
Apache-2.0
protected void writeUserOperationLog(CommandContext commandContext, HistoricDecisionInstance historicDecisionInstance) { List<PropertyChange> propertyChanges = new ArrayList<PropertyChange>(); propertyChanges.add(new PropertyChange("nrOfInstances", null, 1)); propertyChanges.add(new PropertyChange("async", ...
Deletes historic decision instances with the given id of the instance. @author Johannes Heinemann
writeUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByInstanceIdCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstanceByInstanceIdCmd.java
Apache-2.0
@Override public Object execute(CommandContext commandContext) { commandContext.getAuthorizationManager().checkAuthorization(Permissions.DELETE_HISTORY, Resources.DECISION_DEFINITION); ensureNotEmpty(BadUserRequestException.class, "decisionInstanceIds", decisionInstanceIds); writeUserOperationLog(command...
Deletes historic decision instances with the given ids in bulk manner. @author Svetlana Dorokhova
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstancesBulkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstancesBulkCmd.java
Apache-2.0
protected void writeUserOperationLog(CommandContext commandContext, int numInstances) { List<PropertyChange> propertyChanges = new ArrayList<PropertyChange>(); propertyChanges.add(new PropertyChange("nrOfInstances", null, numInstances)); propertyChanges.add(new PropertyChange("async", null, false)); co...
Deletes historic decision instances with the given ids in bulk manner. @author Svetlana Dorokhova
writeUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstancesBulkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/DeleteHistoricDecisionInstancesBulkCmd.java
Apache-2.0
@Override public DmnDecisionResult execute(CommandContext commandContext) { ensureOnlyOneNotNull("either decision definition id or key must be set", decisionDefinitionId, decisionDefinitionKey); DecisionDefinition decisionDefinition = getDecisionDefinition(commandContext); for(CommandChecker checker : c...
Evaluates the decision with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
Apache-2.0
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition) { List<PropertyChange> propertyChanges = new ArrayList<>(); propertyChanges.add(new PropertyChange("decisionDefinitionId", null, decisionDefinition.getId())); propertyChanges.add(new PropertyChange("de...
Evaluates the decision with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.
writeUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
Apache-2.0
protected DmnDecisionResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) { try { return evaluateDecision(decisionDefinition, variables); } catch (Exception e) { throw new ProcessEngineException("Exception while evaluating decision with key '"+decisionDefinitio...
Evaluates the decision with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.
doEvaluateDecision
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
Apache-2.0
protected DecisionDefinition getDecisionDefinition(CommandContext commandContext) { DeploymentCache deploymentCache = commandContext.getProcessEngineConfiguration().getDeploymentCache(); if (decisionDefinitionId != null) { return findById(deploymentCache); } else { return findByKey(deploymentCa...
Evaluates the decision with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.
getDecisionDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
Apache-2.0
protected DecisionDefinition findById(DeploymentCache deploymentCache) { return deploymentCache.findDeployedDecisionDefinitionById(decisionDefinitionId); }
Evaluates the decision with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.
findById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
Apache-2.0
protected DecisionDefinition findByKey(DeploymentCache deploymentCache) { DecisionDefinition decisionDefinition = null; if (version == null && !isTenandIdSet) { decisionDefinition = deploymentCache.findDeployedLatestDecisionDefinitionByKey(decisionDefinitionKey); } else if (version == null && isT...
Evaluates the decision with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.
findByKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionCmd.java
Apache-2.0
@Override public DmnDecisionTableResult execute(CommandContext commandContext) { ensureOnlyOneNotNull("either decision definition id or key must be set", decisionDefinitionId, decisionDefinitionKey); DecisionDefinition decisionDefinition = getDecisionDefinition(commandContext); for(CommandChecker checke...
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken. @author Kristin Polenz
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
Apache-2.0
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition) { List<PropertyChange> propertyChanges = new ArrayList<>(); propertyChanges.add(new PropertyChange("decisionDefinitionId", null, decisionDefinition.getId())); propertyChanges.add(new PropertyChange("de...
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken. @author Kristin Polenz
writeUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
Apache-2.0
protected DmnDecisionTableResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) { try { return evaluateDecisionTable(decisionDefinition, variables); } catch (Exception e) { throw new ProcessEngineException("Exception while evaluating decision with key '"+decisio...
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken. @author Kristin Polenz
doEvaluateDecision
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
Apache-2.0
protected DecisionDefinition getDecisionDefinition(CommandContext commandContext) { DeploymentCache deploymentCache = commandContext.getProcessEngineConfiguration().getDeploymentCache(); if (decisionDefinitionId != null) { return findById(deploymentCache); } else { return findByKey(deploymentCa...
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken. @author Kristin Polenz
getDecisionDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
Apache-2.0
protected DecisionDefinition findById(DeploymentCache deploymentCache) { return deploymentCache.findDeployedDecisionDefinitionById(decisionDefinitionId); }
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken. @author Kristin Polenz
findById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
Apache-2.0
protected DecisionDefinition findByKey(DeploymentCache deploymentCache) { DecisionDefinition decisionDefinition = null; if (version == null && !isTenandIdSet) { decisionDefinition = deploymentCache.findDeployedLatestDecisionDefinitionByKey(decisionDefinitionKey); } else if (version == null && isT...
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken. @author Kristin Polenz
findByKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/EvaluateDecisionTableCmd.java
Apache-2.0
public DecisionDefinition execute(CommandContext commandContext) { ensureNotNull("decisionDefinitionId", decisionDefinitionId); DeploymentCache deploymentCache = Context.getProcessEngineConfiguration().getDeploymentCache(); DecisionDefinitionEntity decisionDefinition = deploymentCache.findDeployedDecisionDe...
Gives access to a deployed decision definition instance.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionDefinitionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionDefinitionCmd.java
Apache-2.0
public InputStream execute(final CommandContext commandContext) { DecisionDefinition decisionDefinition = new GetDeploymentDecisionDefinitionCmd(decisionDefinitionId).execute(commandContext); final String deploymentId = decisionDefinition.getDeploymentId(); final String resourceName = decisionDefinition.ge...
Gives access to a deployed decision diagram, e.g., a PNG image, through a stream of bytes.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionDiagramCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionDiagramCmd.java
Apache-2.0
public InputStream execute(final CommandContext commandContext) { DecisionDefinition decisionDefinition = new GetDeploymentDecisionDefinitionCmd(decisionDefinitionId).execute(commandContext); final String deploymentId = decisionDefinition.getDeploymentId(); final String resourceName = decisionDefinition.ge...
Gives access to a deployed decision model, e.g., a DMN 1.0 XML file, through a stream of bytes.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionModelCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionModelCmd.java
Apache-2.0
public DecisionRequirementsDefinition execute(CommandContext commandContext) { ensureNotNull("decisionRequirementsDefinitionId", decisionRequirementsDefinitionId); DeploymentCache deploymentCache = Context.getProcessEngineConfiguration().getDeploymentCache(); DecisionRequirementsDefinitionEntity decisionReq...
Gives access to a deployed decision requirements definition instance.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionRequirementsDefinitionCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionRequirementsDefinitionCmd.java
Apache-2.0
public InputStream execute(final CommandContext commandContext) { DecisionRequirementsDefinition decisionRequirementsDefinition = new GetDeploymentDecisionRequirementsDefinitionCmd(decisionRequirementsDefinitionId).execute(commandContext); final String deploymentId = decisionRequirementsDefinition.getDeploymen...
Gives access to a deployed decision requirements diagram, e.g., a PNG image, through a stream of bytes.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionRequirementsDiagramCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionRequirementsDiagramCmd.java
Apache-2.0
public InputStream execute(final CommandContext commandContext) { DecisionRequirementsDefinition decisionRequirementsDefinition = new GetDeploymentDecisionRequirementsDefinitionCmd(decisionRequirementsDefinitionId).execute(commandContext); final String deploymentId = decisionRequirementsDefinition.getDeploymen...
Gives access to a deployed decision requirements model, e.g., a DMN 1.1 XML file, through a stream of bytes.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionRequirementsModelCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDecisionRequirementsModelCmd.java
Apache-2.0
public DmnModelInstance execute(CommandContext commandContext) { ensureNotNull("decisionDefinitionId", decisionDefinitionId); DeploymentCache deploymentCache = Context.getProcessEngineConfiguration().getDeploymentCache(); DecisionDefinitionEntity decisionDefinition = deploymentCache.findDeployedDecisionDe...
Gives access to a deployed DMN model instance which can be accessed by the DMN model API.
execute
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDmnModelInstanceCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/cmd/GetDeploymentDmnModelInstanceCmd.java
Apache-2.0
public DmnEngineConfigurationBuilder dmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer) { this.dmnHistoryEventProducer = dmnHistoryEventProducer; return this; }
Creates a new builder to modify the given DMN engine configuration.
dmnHistoryEventProducer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
public DmnEngineConfigurationBuilder scriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver) { this.scriptEngineResolver = scriptEngineResolver; return this; }
Creates a new builder to modify the given DMN engine configuration.
scriptEngineResolver
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
public DmnEngineConfigurationBuilder elProvider(ElProvider elProvider) { this.elProvider = elProvider; return this; }
Creates a new builder to modify the given DMN engine configuration.
elProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
public DmnEngineConfigurationBuilder feelCustomFunctionProviders(List<FeelCustomFunctionProvider> feelCustomFunctionProviders) { this.feelCustomFunctionProviders = feelCustomFunctionProviders; return this; }
Creates a new builder to modify the given DMN engine configuration.
feelCustomFunctionProviders
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
public DefaultDmnEngineConfiguration build() { List<DmnDecisionEvaluationListener> decisionEvaluationListeners = createCustomPostDecisionEvaluationListeners(); dmnEngineConfiguration.setCustomPostDecisionEvaluationListeners(decisionEvaluationListeners); // override the decision table handler DmnTransf...
Modify the given DMN engine configuration and return it.
build
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
protected List<DmnDecisionEvaluationListener> createCustomPostDecisionEvaluationListeners() { ensureNotNull("dmnHistoryEventProducer", dmnHistoryEventProducer); // note that the history level may be null - see CAM-5165 HistoryDecisionEvaluationListener historyDecisionEvaluationListener = new HistoryDecisio...
Modify the given DMN engine configuration and return it.
createCustomPostDecisionEvaluationListeners
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
public DmnEngineConfigurationBuilder enableFeelLegacyBehavior(boolean dmnFeelEnableLegacyBehavior) { dmnEngineConfiguration .enableFeelLegacyBehavior(dmnFeelEnableLegacyBehavior); return this; }
Modify the given DMN engine configuration and return it.
enableFeelLegacyBehavior
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
public DmnEngineConfigurationBuilder returnBlankTableOutputAsNull(boolean dmnReturnBlankTableOutputAsNull) { dmnEngineConfiguration.setReturnBlankTableOutputAsNull(dmnReturnBlankTableOutputAsNull); return this; }
Modify the given DMN engine configuration and return it.
returnBlankTableOutputAsNull
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/configuration/DmnEngineConfigurationBuilder.java
Apache-2.0
@Override protected String[] getResourcesSuffixes() { return DMN_RESOURCE_SUFFIXES; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
getResourcesSuffixes
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
@Override protected List<DecisionDefinitionEntity> transformDefinitions(DeploymentEntity deployment, ResourceEntity resource, Properties properties) { List<DecisionDefinitionEntity> decisions = new ArrayList<DecisionDefinitionEntity>(); // get the decisions from the deployed drd instead of parse the DMN agai...
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
transformDefinitions
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
protected DecisionRequirementsDefinitionEntity findDeployedDrdForResource(DeploymentEntity deployment, String resourceName) { List<DecisionRequirementsDefinitionEntity> deployedDrds = deployment.getDeployedArtifacts(DecisionRequirementsDefinitionEntity.class); if (deployedDrds != null) { for (DecisionReq...
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
findDeployedDrdForResource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
@Override protected DecisionDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey) { return getDecisionDefinitionManager().findDecisionDefinitionByDeploymentAndKey(deploymentId, definitionKey); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
findDefinitionByDeploymentAndKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
@Override protected DecisionDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId) { return getDecisionDefinitionManager().findLatestDecisionDefinitionByKeyAndTenantId(definitionKey, tenantId); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
findLatestDefinitionByKeyAndTenantId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
@Override protected void persistDefinition(DecisionDefinitionEntity definition) { getDecisionDefinitionManager().insertDecisionDefinition(definition); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
persistDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
@Override protected void addDefinitionToDeploymentCache(DeploymentCache deploymentCache, DecisionDefinitionEntity definition) { deploymentCache.addDecisionDefinition(definition); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
addDefinitionToDeploymentCache
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
protected DecisionDefinitionManager getDecisionDefinitionManager() { return getCommandContext().getDecisionDefinitionManager(); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
getDecisionDefinitionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
public DmnTransformer getTransformer() { return transformer; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
getTransformer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
public void setTransformer(DmnTransformer transformer) { this.transformer = transformer; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionDefinitionEntity}s. Since it uses the result of the {@link DecisionRequirementsDefinitionDeployer} to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must process the deployment before this cacheDeployer.
setTransformer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionDefinitionDeployer.java
Apache-2.0
@Override protected String[] getResourcesSuffixes() { // since the DecisionDefinitionDeployer uses the result of this cacheDeployer, make sure that // it process the same DMN resources return DecisionDefinitionDeployer.DMN_RESOURCE_SUFFIXES; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
getResourcesSuffixes
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected List<DecisionRequirementsDefinitionEntity> transformDefinitions(DeploymentEntity deployment, ResourceEntity resource, Properties properties) { byte[] bytes = resource.getBytes(); ByteArrayInputStream inputStream = new ByteArrayInputStream(bytes); if (!deployment.isNew()) { skipE...
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
transformDefinitions
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
public void skipEnforceTtl(boolean skipEnforceTtl) { DmnElementTransformHandler<Decision, DmnDecisionImpl> handler = transformer.getElementTransformHandlerRegistry().getHandler(Decision.class); ((DecisionDefinitionHandler) handler).setSkipEnforceTtl(skipEnforceTtl); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
skipEnforceTtl
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected DecisionRequirementsDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey) { return getDecisionRequirementsDefinitionManager().findDecisionRequirementsDefinitionByDeploymentAndKey(deploymentId, definitionKey); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
findDefinitionByDeploymentAndKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected DecisionRequirementsDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId) { return getDecisionRequirementsDefinitionManager().findLatestDecisionRequirementsDefinitionByKeyAndTenantId(definitionKey, tenantId); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
findLatestDefinitionByKeyAndTenantId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected void persistDefinition(DecisionRequirementsDefinitionEntity definition) { if (isDecisionRequirementsDefinitionPersistable(definition)) { getDecisionRequirementsDefinitionManager().insertDecisionRequirementsDefinition(definition); } }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
persistDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected void addDefinitionToDeploymentCache(DeploymentCache deploymentCache, DecisionRequirementsDefinitionEntity definition) { if (isDecisionRequirementsDefinitionPersistable(definition)) { deploymentCache.addDecisionRequirementsDefinition(definition); } }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
addDefinitionToDeploymentCache
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected void ensureNoDuplicateDefinitionKeys(List<DecisionRequirementsDefinitionEntity> definitions) { // ignore decision requirements definitions which will not be persistent ArrayList<DecisionRequirementsDefinitionEntity> persistableDefinitions = new ArrayList<DecisionRequirementsDefinitionEntit...
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
ensureNoDuplicateDefinitionKeys
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
public static boolean isDecisionRequirementsDefinitionPersistable(DecisionRequirementsDefinitionEntity definition) { // persist no decision requirements definition for a single decision return definition.getDecisions().size() > 1; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
isDecisionRequirementsDefinitionPersistable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override protected void updateDefinitionByPersistedDefinition(DeploymentEntity deployment, DecisionRequirementsDefinitionEntity definition, DecisionRequirementsDefinitionEntity persistedDefinition) { // cannot update the definition if it is not persistent if (persistedDefinition != null) { super....
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
updateDefinitionByPersistedDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
protected DecisionRequirementsDefinitionManager getDecisionRequirementsDefinitionManager() { return getCommandContext().getDecisionRequirementsDefinitionManager(); }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
getDecisionRequirementsDefinitionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
public DmnTransformer getTransformer() { return transformer; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
getTransformer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
public void setTransformer(DmnTransformer transformer) { this.transformer = transformer; }
{@link Deployer} responsible to parse DMN 1.1 XML files and create the proper {@link DecisionRequirementsDefinitionEntity}s.
setTransformer
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/deployer/DecisionRequirementsDefinitionDeployer.java
Apache-2.0
@Override public void updateModifiableFieldsFromEntity(DecisionDefinitionEntity updatingDecisionDefinition) { if (this.key.equals(updatingDecisionDefinition.key) && this.deploymentId.equals(updatingDecisionDefinition.deploymentId)) { this.revision = updatingDecisionDefinition.revision; this.historyTim...
Updates all modifiable fields from another decision definition entity. @param updatingDecisionDefinition
updateModifiableFieldsFromEntity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
Apache-2.0
public DecisionDefinitionEntity getPreviousDefinition() { DecisionDefinitionEntity previousDecisionDefinition = null; String previousDecisionDefinitionId = getPreviousDecisionDefinitionId(); if (previousDecisionDefinitionId != null) { previousDecisionDefinition = loadDecisionDefinition(previousDecis...
Updates all modifiable fields from another decision definition entity. @param updatingDecisionDefinition
getPreviousDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
Apache-2.0
protected DecisionDefinitionEntity loadDecisionDefinition(String decisionDefinitionId) { ProcessEngineConfigurationImpl configuration = Context.getProcessEngineConfiguration(); DeploymentCache deploymentCache = configuration.getDeploymentCache(); DecisionDefinitionEntity decisionDefinition = deploymentCach...
Returns the cached version if exists; does not update the entity from the database in that case
loadDecisionDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
Apache-2.0
public String getPreviousDecisionDefinitionId() { ensurePreviousDecisionDefinitionIdInitialized(); return previousDecisionDefinitionId; }
Returns the cached version if exists; does not update the entity from the database in that case
getPreviousDecisionDefinitionId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
Apache-2.0
public void setPreviousDecisionDefinitionId(String previousDecisionDefinitionId) { this.previousDecisionDefinitionId = previousDecisionDefinitionId; }
Returns the cached version if exists; does not update the entity from the database in that case
setPreviousDecisionDefinitionId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
Apache-2.0
protected void resetPreviousDecisionDefinitionId() { previousDecisionDefinitionId = null; ensurePreviousDecisionDefinitionIdInitialized(); }
Returns the cached version if exists; does not update the entity from the database in that case
resetPreviousDecisionDefinitionId
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/dmn/entity/repository/DecisionDefinitionEntity.java
Apache-2.0