Tabnine Logo
AccessControlList.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
alluxio.security.authorization.AccessControlList

Best Java code snippets using alluxio.security.authorization.AccessControlList.toString (Showing top 3 results out of 315)

origin: Alluxio/alluxio

 @Override
 public String toString() {
  return MoreObjects.toStringHelper(this)
    .add("fileId", mFileId)
    .add("name", mName)
    .add("path", mPath)
    .add("ufsPath", mUfsPath).add("length", mLength).add("blockSizeBytes", mBlockSizeBytes)
    .add("creationTimeMs", mCreationTimeMs).add("completed", mCompleted).add("folder", mFolder)
    .add("pinned", mPinned).add("cacheable", mCacheable).add("persisted", mPersisted)
    .add("blockIds", mBlockIds).add("inMemoryPercentage", mInMemoryPercentage)
    .add("lastModificationTimesMs", mLastModificationTimeMs).add("ttl", mTtl)
    .add("ttlAction", mTtlAction).add("owner", mOwner).add("group", mGroup).add("mode", mMode)
    .add("persistenceState", mPersistenceState).add("mountPoint", mMountPoint)
    .add("replicationMax", mReplicationMax).add("replicationMin", mReplicationMin)
    .add("fileBlockInfos", mFileBlockInfos)
    .add("mountId", mMountId).add("inAlluxioPercentage", mInAlluxioPercentage)
    .add("ufsFingerprint", mUfsFingerprint)
    .add("acl", mAcl.toString())
    .add("defaultAcl", mDefaultAcl.toString())
    .toString();
 }
}
origin: Alluxio/alluxio

@Override
public void check(FileSystem fs) throws Exception {
 assertThat(fs.getStatus(DIR_SET).getAcl().toString(), containsString(ACL_STRING));
 assertThat(fs.getStatus(DIR_ADD_REMOVE).getAcl().toString(), not(containsString(ACL_STRING)));
}
origin: Alluxio/alluxio

/**
 * Parses the input string and returns the fingerprint object.
 *
 * @param ufsName the name of the ufs, should be {@link UnderFileSystem#getUnderFSType()}
 * @param status the {@link UfsStatus} to create the fingerprint from
 * @param acl the {@link AccessControlList} to create the fingerprint from
 * @return the fingerprint object
 */
public static Fingerprint create(String ufsName, UfsStatus status, AccessControlList acl) {
 if (status == null) {
  return new Fingerprint(Collections.emptyMap());
 }
 Map<Tag, String> tagMap = Fingerprint.createTags(ufsName, status);
 if (acl != null) {
  tagMap.put(Tag.ACL, acl.toString());
 }
 return new Fingerprint(tagMap);
}
alluxio.security.authorizationAccessControlListtoString

Popular methods of AccessControlList

  • <init>
    Creates a new instance where owning user and owning group are initialized to empty strings, and no a
  • getEntries
    Returns a list of AclEntry which represent this ACL instance. The mask will only be included if exte
  • getOwningGroup
  • getOwningUser
  • hasExtended
  • setEntry
    Sets an entry into the access control list. If an entry with the same type and subject already exist
  • setOwningGroup
    Sets owning group.
  • setOwningUser
    Sets owning user.
  • getMode
  • getPermission
    Gets the permitted actions for a user. When AccessControlList is not modified after calling getPermi
  • setMode
    Sets permitted actions for owning user, owning group, and other based on the mode. The format of mod
  • toStringEntries
  • setMode,
  • toStringEntries,
  • checkPermission,
  • clearEntries,
  • fromStringEntries,
  • getOtherActions,
  • getOwningGroupActions,
  • getOwningUserActions,
  • removeEntry

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JTable (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now