001    /*
002     * Copyright 2011-2016 UnboundID Corp.
003     * All Rights Reserved.
004     */
005    /*
006     * Copyright (C) 2011-2016 UnboundID Corp.
007     *
008     * This program is free software; you can redistribute it and/or modify
009     * it under the terms of the GNU General Public License (GPLv2 only)
010     * or the terms of the GNU Lesser General Public License (LGPLv2.1 only)
011     * as published by the Free Software Foundation.
012     *
013     * This program is distributed in the hope that it will be useful,
014     * but WITHOUT ANY WARRANTY; without even the implied warranty of
015     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
016     * GNU General Public License for more details.
017     *
018     * You should have received a copy of the GNU General Public License
019     * along with this program; if not, see <http://www.gnu.org/licenses>.
020     */
021    package com.unboundid.ldap.sdk;
022    
023    
024    
025    import com.unboundid.util.ThreadSafety;
026    import com.unboundid.util.ThreadSafetyLevel;
027    
028    
029    
030    /**
031     * This enum defines the set of LDAP operation types.
032     */
033    @ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
034    public enum OperationType
035    {
036      /**
037       * The operation type that will be used for abandon operations.
038       */
039      ABANDON,
040    
041    
042    
043      /**
044       * The operation type that will be used for add operations.
045       */
046      ADD,
047    
048    
049    
050      /**
051       * The operation type that will be used for bind operations.
052       */
053      BIND,
054    
055    
056    
057      /**
058       * The operation type that will be used for compare operations.
059       */
060      COMPARE,
061    
062    
063    
064      /**
065       * The operation type that will be used for delete operations.
066       */
067      DELETE,
068    
069    
070    
071      /**
072       * The operation type that will be used for extended operations.
073       */
074      EXTENDED,
075    
076    
077    
078      /**
079       * The operation type that will be used for modify operations.
080       */
081      MODIFY,
082    
083    
084    
085      /**
086       * The operation type that will be used for modify DN operations.
087       */
088      MODIFY_DN,
089    
090    
091    
092      /**
093       * The operation type that will be used for search operations.
094       */
095      SEARCH,
096    
097    
098    
099      /**
100       * The operation type that will be used for unbind operations.
101       */
102      UNBIND;
103    }