public class RunId extends Id
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static RunId |
newRandomIdWithPrefix(String prefix)
Generate a new, globally unique ID that has the given prefix.
|
public RunId()
public RunId(String id)
public static RunId newRandomIdWithPrefix(String prefix)
newRandomIdWithPrefix("test")
generates: test-828119e0-cd47-45a1-b120-94d284ecb7b3
prefix
- ID's prefixpublic static void main(String[] args)
Copyright © 2014–2018 Nirmata. All rights reserved.