All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dripstat.annotations.TxnSegment Maven / Gradle / Ivy

The newest version!
package com.dripstat.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Identifies a custom segment in a transaction.
 * Parent class must contain @TxnSegmentContainer annotation
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface TxnSegment
{
    /**
     * @return Segment name. Can contain only alphabets and digits
     */
    String value() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy